git/Documentation/git-ssh-push.txt
Daniel Barkalow 63aff4fed9 [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>
2005-06-06 19:49:45 -07:00

56 lines
1.3 KiB
Plaintext

git-ssh-push(1)
===============
v0.1, Jun 2005
NAME
----
git-ssh-push - Pushes to a remote repository over ssh connection
SYNOPSIS
--------
'git-ssh-push' [-c] [-t] [-a] [-d] [-v] [-w filename] [--recover] commit-id url
DESCRIPTION
-----------
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.
OPTIONS
-------
commit-id::
Either the hash or the filename under $GIT_DIR/refs/ to push.
-c::
Get the commit objects.
-t::
Get tree associated with the requested commit object.
-a::
Get all the objects.
-d::
Do not check for delta base objects (use this option
only when you know the local repository is not
deltified).
--recover::
Check dependency of deltified object more carefully than
usual, to recover after earlier push that was interrupted.
-v::
Report what is uploaded.
-w::
Writes the commit-id into the filename under [URL]/refs/ on
the remote end after the transfer is complete.
Author
------
Written by Daniel Barkalow <barkalow@iabervon.org>
Documentation
--------------
Documentation by Daniel Barkalow
GIT
---
Part of the link:git.html[git] suite