blob: 29fa30752eaa3593b514af61045c87ea0fc58edf [file] [log] [blame]
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.
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].
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 remote ref that is
not a descendent of the local ref used to overwrite it.
This flag disables the check. This can cause the
remote repository to 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