Documentation / git-push.txton commit GIT 1.1.4 (c4e804b)
   1git-push(1)
   2===========
   3
   4NAME
   5----
   6git-push - Update remote refs along with associated objects.
   7
   8
   9SYNOPSIS
  10--------
  11'git-push' [--all] [--force] <repository> <refspec>...
  12
  13DESCRIPTION
  14-----------
  15
  16Updates remote refs using local refs, while sending objects
  17necessary to complete the given refs.
  18
  19You can make "interesting" things to happen on the repository
  20every time you push into it, by setting up 'hooks' there.  See
  21documentation for gitlink:git-receive-pack[1].
  22
  23
  24OPTIONS
  25-------
  26include::pull-fetch-param.txt[]
  27
  28\--all::
  29        Instead of naming each ref to push, specifies all refs
  30        to be pushed.
  31
  32-f, \--force::
  33        Usually, the command refuses to update a local ref that is
  34        not an ancestor of the remote ref used to overwrite it.
  35        This flag disables the check.  What this means is that the
  36        local repository can lose commits; use it with care.
  37
  38
  39Author
  40------
  41Written by Junio C Hamano <junkio@cox.net>
  42
  43Documentation
  44--------------
  45Documentation by Junio C Hamano and the git-list <git@vger.kernel.org>.
  46
  47GIT
  48---
  49Part of the gitlink:git[7] suite
  50