1 <!DOCTYPE html PUBLIC
"-//W3C//DTD XHTML 1.1//EN"
2 "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
3 <html xmlns=
"http://www.w3.org/1999/xhtml" xml:
lang=
"en">
5 <meta http-equiv=
"Content-Type" content=
"text/html; charset=UTF-8" />
6 <meta name=
"generator" content=
"AsciiDoc 8.2.5" />
7 <style type=
"text/css">
9 p
, li
, dt
, dd
, div
, pre
, h1
, h2
, h3
, h4
, h5
, h6
{
11 border: 1px solid red;
16 margin: 1em 5% 1em 5%;
21 text-decoration: underline
;
39 h1
, h2
, h3
, h4
, h5
, h6
{
41 font-family: sans-serif
;
48 border-bottom: 2px solid silver
;
66 border: 1px solid silver
;
81 font-family: sans-serif
;
88 font-family: sans-serif
;
92 font-family: sans-serif
;
94 border-top: 2px solid silver
;
100 padding-bottom: 0.5em;
104 padding-bottom: 0.5em;
108 div
.tableblock
, div
.imageblock
, div
.exampleblock
, div
.verseblock
,
109 div
.quoteblock
, div
.literalblock
, div
.listingblock
, div
.sidebarblock
,
110 div
.admonitionblock
{
113 margin-bottom: 1.5em;
115 div
.admonitionblock
{
117 margin-bottom: 2.5em;
120 div
.content
{ /* Block element content. */
124 /* Block element titles. */
125 div
.title
, caption
.title
{
126 font-family: sans-serif
;
130 margin-bottom: 0.5em;
136 td div
.title:first-child
{
139 div
.content div
.title:first-child
{
142 div
.content
+ div
.title
{
146 div
.sidebarblock
> div
.content
{
148 border: 1px solid silver
;
155 div
.listingblock
> div
.content
{
156 border: 1px solid silver
;
161 div
.quoteblock
> div
.content
{
168 div
.verseblock
+ div
.attribution
{
172 div
.admonitionblock
.icon
{
176 text-decoration: underline
;
178 padding-right: 0.5em;
180 div
.admonitionblock td
.content
{
182 border-left: 2px solid silver
;
185 div
.exampleblock
> div
.content
{
186 border-left: 2px solid silver
;
190 div
.verseblock div
.content
{
194 div
.imageblock div
.content
{ padding-left: 0; }
195 div
.imageblock img
{ border: 1px solid silver
; }
196 span
.image img
{ border-style: none
; }
200 margin-bottom: 0.8em;
212 list-style-position: outside
;
215 list-style-type: lower-alpha
;
218 div
.tableblock
> table
{
219 border: 3px solid
#527bbd;
222 font-family: sans-serif
;
231 margin-bottom: 0.8em;
239 padding-right: 0.8em;
246 div#footer-badges
{ display: none
; }
251 font-family: sans-serif
;
255 margin-bottom: 0.1em;
258 div
.toclevel1
, div
.toclevel2
, div
.toclevel3
, div
.toclevel4
{
274 include1::./stylesheets
/xhtml11-manpage
.css
[]
275 /* Workarounds for IE6's broken and incomplete CSS2. */
277 div
.sidebar-content
{
279 border: 1px solid silver
;
282 div
.sidebar-title
, div
.image-title
{
283 font-family: sans-serif
;
286 margin-bottom: 0.5em;
289 div
.listingblock div
.content
{
290 border: 1px solid silver
;
295 div
.quoteblock-content
{
299 div
.exampleblock-content
{
300 border-left: 2px solid silver
;
304 /* IE6 sets dynamically generated links as visited. */
305 div#toc
a:visited
{ color: blue
; }
307 <title>git-http-push(
1)
</title>
312 git-http-push(
1) Manual Page
315 <div class=
"sectionbody">
317 Push objects over HTTP/DAV to another repository
322 <div class=
"sectionbody">
323 <div class=
"para"><p><em>git http-push
</em> [--all] [--dry-run] [--force] [--verbose]
<url
> <ref
> [
<ref
>…]
</p></div>
325 <h2 id=
"_description">DESCRIPTION
</h2>
326 <div class=
"sectionbody">
327 <div class=
"para"><p>Sends missing objects to remote repository, and updates the
328 remote branch.
</p></div>
329 <div class=
"para"><p><strong>NOTE
</strong>: This command is temporarily disabled if your libcurl
330 is older than
7.16, as the combination has been reported
331 not to work and sometimes corrupts repository.
</p></div>
333 <h2 id=
"_options">OPTIONS
</h2>
334 <div class=
"sectionbody">
335 <div class=
"vlist"><dl>
341 Do not assume that the remote repository is complete in its
342 current state, and verify all objects in the entire local
343 ref's history exist in the remote repository.
351 Usually, the command refuses to update a remote ref that
352 is not an ancestor of the local ref used to overwrite it.
353 This flag disables the check. What this means is that
354 the remote repository can lose commits; use it with
363 Do everything except actually send the updates.
371 Report the list of objects being walked locally and the
372 list of objects successfully sent to the remote repository.
383 Remove
<ref
> from remote repository. The specified branch
384 cannot be the remote HEAD. If -d is specified the following
385 other conditions must also be met:
387 <div class=
"ilist"><ul>
390 Remote HEAD must resolve to an object that exists locally
395 Specified branch resolves to an object that exists locally
400 Specified branch is an ancestor of the remote HEAD
410 The remote refs to update.
415 <h2 id=
"_specifying_the_refs">Specifying the Refs
</h2>
416 <div class=
"sectionbody">
417 <div class=
"para"><p>A
<em><ref
></em> specification can be either a single pattern, or a pair
418 of such patterns separated by a colon
":" (this means that a ref name
419 cannot have a colon in it). A single pattern
<em><name
></em> is just a
420 shorthand for
<em><name
>:
<name
></em>.
</p></div>
421 <div class=
"para"><p>Each pattern pair consists of the source side (before the colon)
422 and the destination side (after the colon). The ref to be
423 pushed is determined by finding a match that matches the source
424 side, and where it is pushed is determined by using the
425 destination side.
</p></div>
426 <div class=
"ilist"><ul>
429 It is an error if
<src
> does not match exactly one of the
435 If
<dst
> does not match any remote ref, either
437 <div class=
"ilist"><ul>
440 it has to start with
"refs/";
<dst
> is used as the
441 destination literally in this case.
446 <src
> ==
<dst
> and the ref that matched the
<src
> must not
447 exist in the set of remote refs; the ref matched
<src
>
448 locally is used as the name of the destination.
454 <div class=
"para"><p>Without
<em>--force
</em>, the
<src
> ref is stored at the remote only if
455 <dst
> does not exist, or
<dst
> is a proper subset (i.e. an
456 ancestor) of
<src
>. This check, known as
"fast forward check",
457 is performed in order to avoid accidentally overwriting the
458 remote ref and lose other peoples' commits from there.
</p></div>
459 <div class=
"para"><p>With
<em>--force
</em>, the fast forward check is disabled for all refs.
</p></div>
460 <div class=
"para"><p>Optionally, a
<ref
> parameter can be prefixed with a plus
<em>+
</em> sign
461 to disable the fast-forward check only on that ref.
</p></div>
463 <h2 id=
"_author">Author
</h2>
464 <div class=
"sectionbody">
465 <div class=
"para"><p>Written by Nick Hengeveld
<nickh@reactrix.com
></p></div>
467 <h2 id=
"_documentation">Documentation
</h2>
468 <div class=
"sectionbody">
469 <div class=
"para"><p>Documentation by Nick Hengeveld
</p></div>
471 <h2 id=
"_git">GIT
</h2>
472 <div class=
"sectionbody">
473 <div class=
"para"><p>Part of the
<a href=
"git.html">git(
1)
</a> suite
</p></div>
476 <div id=
"footer-text">
477 Last updated
2009-
07-
01 02:
30:
53 UTC