diff options
author | Daniel Barkalow <barkalow@iabervon.org> | 2005-06-06 22:30:39 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-06-06 19:49:45 -0700 |
commit | 63aff4fed94355889be98ad44371e29942ff70e4 (patch) | |
tree | 666f7becdf96f1f1c3b34f079e2eef1c5a5643a6 /Documentation/git-ssh-pull.txt | |
parent | git-resolve-script: stop when the automated merge fails (diff) | |
download | tgif-63aff4fed94355889be98ad44371e29942ff70e4.tar.xz |
[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 <barkalow@iabervon.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'Documentation/git-ssh-pull.txt')
-rw-r--r-- | Documentation/git-ssh-pull.txt | 17 |
1 files changed, 13 insertions, 4 deletions
diff --git a/Documentation/git-ssh-pull.txt b/Documentation/git-ssh-pull.txt index a0dade00af..3397fba838 100644 --- a/Documentation/git-ssh-pull.txt +++ b/Documentation/git-ssh-pull.txt @@ -10,15 +10,21 @@ git-ssh-pull - Pulls from a remote repository over ssh connection SYNOPSIS -------- -'git-ssh-pull' [-c] [-t] [-a] [-d] [-v] [--recover] commit-id url +'git-ssh-pull' [-c] [-t] [-a] [-d] [-v] [-w filename] [--recover] commit-id url DESCRIPTION ----------- -Pulls from a remote repository over ssh connection, invoking git-ssh-push -on the other end. +Pulls from a remote repository over ssh connection, invoking +git-ssh-push on the other end. It functions identically to +git-ssh-push, aside from which end you run it on. + OPTIONS ------- +commit-id:: + Either the hash or the filename under [URL]/refs/ to + pull. + -c:: Get the commit objects. -t:: @@ -34,11 +40,14 @@ OPTIONS usual, to recover after earlier pull that was interrupted. -v:: Report what is downloaded. +-w:: + Writes the commit-id into the filename under $GIT_DIR/refs/ on + the local end after the transfer is complete. Author ------ -Written by Linus Torvalds <torvalds@osdl.org> +Written by Daniel Barkalow <barkalow@iabervon.org> Documentation -------------- |