2005-09-08 02:26:23 +02:00
|
|
|
git-push(1)
|
|
|
|
===========
|
2005-08-23 10:49:47 +02:00
|
|
|
|
|
|
|
NAME
|
|
|
|
----
|
2005-09-08 02:26:23 +02:00
|
|
|
git-push - Update remote refs along with associated objects.
|
2005-08-23 10:49:47 +02:00
|
|
|
|
|
|
|
|
|
|
|
SYNOPSIS
|
|
|
|
--------
|
2005-09-08 02:26:23 +02:00
|
|
|
'git-push' [--all] [--force] <repository> <refspec>...
|
2005-08-23 10:49:47 +02:00
|
|
|
|
|
|
|
DESCRIPTION
|
|
|
|
-----------
|
2005-08-25 01:23:08 +02:00
|
|
|
|
|
|
|
Updates remote refs using local refs, while sending objects
|
|
|
|
necessary to complete the given refs.
|
2005-08-23 10:49:47 +02:00
|
|
|
|
2005-12-05 09:32:01 +01: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 10:49:47 +02:00
|
|
|
|
|
|
|
OPTIONS
|
|
|
|
-------
|
2005-08-25 01:23:08 +02:00
|
|
|
include::pull-fetch-param.txt[]
|
2005-08-23 10:49:47 +02:00
|
|
|
|
2005-10-20 06:25:39 +02: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 10:49:47 +02:00
|
|
|
|
2005-12-05 09:32:01 +01:00
|
|
|
|
2005-08-23 10:49:47 +02: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 12:10:51 +02:00
|
|
|
Part of the gitlink:git[7] suite
|
2005-08-23 10:49:47 +02:00
|
|
|
|