Skip to content

Commit d8190a8

Browse files
aeruderJunio C Hamano
authored andcommitted
Update git-http-push documentation
Documentation/git-http-push.txt: Changing --complete to --all. Added documentation for -d and -D to remote remote refs. Signed-off-by: Andrew Ruder <andy@aeruder.net> Signed-off-by: Junio C Hamano <junkio@cox.net>
1 parent a44f88e commit d8190a8

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

Documentation/git-http-push.txt

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ git-http-push - Push objects over HTTP/DAV to another repository
88

99
SYNOPSIS
1010
--------
11-
'git-http-push' [--complete] [--force] [--verbose] <url> <ref> [<ref>...]
11+
'git-http-push' [--all] [--force] [--verbose] <url> <ref> [<ref>...]
1212

1313
DESCRIPTION
1414
-----------
@@ -18,7 +18,7 @@ remote branch.
1818

1919
OPTIONS
2020
-------
21-
--complete::
21+
--all::
2222
Do not assume that the remote repository is complete in its
2323
current state, and verify all objects in the entire local
2424
ref's history exist in the remote repository.
@@ -34,6 +34,15 @@ OPTIONS
3434
Report the list of objects being walked locally and the
3535
list of objects successfully sent to the remote repository.
3636

37+
-d, -D::
38+
Remove <ref> from remote repository. The specified branch
39+
cannot be the remote HEAD. If -d is specified the following
40+
other conditions must also be met:
41+
42+
- Remote HEAD must resolve to an object that exists locally
43+
- Specified branch resolves to an object that exists locally
44+
- Specified branch is an ancestor of the remote HEAD
45+
3746
<ref>...::
3847
The remote refs to update.
3948

0 commit comments

Comments
 (0)