path: root/Documentation/git-ssh-push.txt
diff options
authorDaniel Barkalow <>2005-06-07 02:30:39 (GMT)
committerLinus Torvalds <>2005-06-07 02:49:45 (GMT)
commit63aff4fed94355889be98ad44371e29942ff70e4 (patch)
tree666f7becdf96f1f1c3b34f079e2eef1c5a5643a6 /Documentation/git-ssh-push.txt
parente5b905c4481a3364070094b8ce0c2bf7fa5d481e (diff)
[PATCH] Document git-ssh-pull and git-ssh-push
This fixes the documentation for git-ssh-push, as called by users (if you run git-ssh-pull or git-ssh-push on one machine, the other runs on the other machine, and they transfer data in the specified direction). This also adds documentation for the -w option and for using filenames for the commit-id (which does what you'd want: uses the source side's value, not the value already on the target, even if you're running it on the target). It also credits me with the programs and the documentation for git-ssh-push. Someone who knows asciidoc should make sure I didn't mess up the formatting. I'm only sure of the ascii part. Signed-off-by: Daniel Barkalow <> Signed-off-by: Linus Torvalds <>
Diffstat (limited to 'Documentation/git-ssh-push.txt')
1 files changed, 32 insertions, 7 deletions
diff --git a/Documentation/git-ssh-push.txt b/Documentation/git-ssh-push.txt
index 4fe8508..c55ce7d 100644
--- a/Documentation/git-ssh-push.txt
+++ b/Documentation/git-ssh-push.txt
@@ -1,28 +1,53 @@
-v0.1, May 2005
+v0.1, Jun 2005
-git-ssh-push - Helper "server-side" program used by git-ssh-pull
+git-ssh-push - Pushes to a remote repository over ssh connection
+'git-ssh-push' [-c] [-t] [-a] [-d] [-v] [-w filename] [--recover] commit-id url
-Helper "server-side" program used by git-ssh-pull.
+Pushes from a remote repository over ssh connection, invoking
+git-ssh-pull on the other end. It functions identically to
+git-ssh-pull, aside from which end you run it on.
+ Either the hash or the filename under $GIT_DIR/refs/ to push.
+ Get the commit objects.
+ Get tree associated with the requested commit object.
+ Get all the objects.
+ Do not check for delta base objects (use this option
+ only when you know the local repository is not
+ deltified).
+ Check dependency of deltified object more carefully than
+ usual, to recover after earlier push that was interrupted.
+ Report what is uploaded.
+ Writes the commit-id into the filename under [URL]/refs/ on
+ the remote end after the transfer is complete.
-Written by Linus Torvalds <>
+Written by Daniel Barkalow <>
-Documentation by David Greaves, Junio C Hamano and the git-list <>.
+Documentation by Daniel Barkalow