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