merge-one-file: use common as base, instead of emptiness.
[git/gitweb.git] / Documentation / git-push.txt
blobf45ac5ee4910198fa351e56bb40333612787fcd2
1 git-push(1)
2 ===========
4 NAME
5 ----
6 git-push - Update remote refs along with associated objects.
9 SYNOPSIS
10 --------
11 'git-push' [--all] [--force] <repository> <refspec>...
13 DESCRIPTION
14 -----------
16 Updates remote refs using local refs, while sending objects
17 necessary to complete the given refs.
20 OPTIONS
21 -------
22 include::pull-fetch-param.txt[]
24 \--all::
25         Instead of naming each ref to push, specifies all refs
26         to be pushed.
28 -f, \--force::
29         Usually, the command refuses to update a local ref that is
30         not an ancestor of the remote ref used to overwrite it.
31         This flag disables the check.  What this means is that the
32         local repository can lose commits; use it with care.
34 Author
35 ------
36 Written by Junio C Hamano <junkio@cox.net>
38 Documentation
39 --------------
40 Documentation by Junio C Hamano and the git-list <git@vger.kernel.org>.
42 GIT
43 ---
44 Part of the gitlink:git[7] suite