mirror of
https://github.com/git/git.git
synced 2024-11-18 03:23:54 +01:00
d6a73596e7
The documentation was lazily sharing the argument description across these commands. Lazy may be a way of life, but that does not justify confusing others ;-). Signed-off-by: Junio C Hamano <junkio@cox.net>
46 lines
876 B
Plaintext
46 lines
876 B
Plaintext
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
|
|
|