2005-09-08 04:26:23 +04:00
|
|
|
git-push(1)
|
|
|
|
===========
|
2005-08-23 12:49:47 +04:00
|
|
|
|
|
|
|
NAME
|
|
|
|
----
|
2005-09-08 04:26:23 +04:00
|
|
|
git-push - Update remote refs along with associated objects.
|
2005-08-23 12:49:47 +04:00
|
|
|
|
|
|
|
|
|
|
|
SYNOPSIS
|
|
|
|
--------
|
2005-09-08 04:26:23 +04:00
|
|
|
'git-push' [--all] [--force] <repository> <refspec>...
|
2005-08-23 12:49:47 +04:00
|
|
|
|
|
|
|
DESCRIPTION
|
|
|
|
-----------
|
2005-08-25 03:23:08 +04:00
|
|
|
|
|
|
|
Updates remote refs using local refs, while sending objects
|
|
|
|
necessary to complete the given refs.
|
2005-08-23 12:49:47 +04:00
|
|
|
|
2005-12-05 11:32:01 +03:00
|
|
|
You can make "interesting" things to happen on the repository
|
|
|
|
every time you push into it, by setting up 'hooks' there. See
|
|
|
|
documentation for gitlink:git-receive-pack[1].
|
|
|
|
|
2005-08-23 12:49:47 +04:00
|
|
|
|
|
|
|
OPTIONS
|
|
|
|
-------
|
2005-08-25 03:23:08 +04:00
|
|
|
include::pull-fetch-param.txt[]
|
2005-08-23 12:49:47 +04:00
|
|
|
|
2005-10-20 08:25:39 +04:00
|
|
|
\--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.
|
2005-08-23 12:49:47 +04:00
|
|
|
|
2005-12-05 11:32:01 +03:00
|
|
|
|
2005-08-23 12:49:47 +04:00
|
|
|
Author
|
|
|
|
------
|
|
|
|
Written by Junio C Hamano <junkio@cox.net>
|
|
|
|
|
|
|
|
Documentation
|
|
|
|
--------------
|
|
|
|
Documentation by Junio C Hamano and the git-list <git@vger.kernel.org>.
|
|
|
|
|
|
|
|
GIT
|
|
|
|
---
|
2005-09-19 14:10:51 +04:00
|
|
|
Part of the gitlink:git[7] suite
|
2005-08-23 12:49:47 +04:00
|
|
|
|