GIT 0.99.9a
[git.git] / Documentation / git-push.txt
1 git-push(1)
2 ===========
3
4 NAME
5 ----
6 git-push - Update remote refs along with associated objects.
7
8
9 SYNOPSIS
10 --------
11 'git-push' [--all] [--force] <repository> <refspec>...
12
13 DESCRIPTION
14 -----------
15
16 Updates remote refs using local refs, while sending objects
17 necessary to complete the given refs.
18
19
20 OPTIONS
21 -------
22 include::pull-fetch-param.txt[]
23
24 \--all::
25         Instead of naming each ref to push, specifies all refs
26         to be pushed.
27
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.
33
34 Author
35 ------
36 Written by Junio C Hamano <junkio@cox.net>
37
38 Documentation
39 --------------
40 Documentation by Junio C Hamano and the git-list <git@vger.kernel.org>.
41
42 GIT
43 ---
44 Part of the gitlink:git[7] suite
45