Documentation: send/receive.
PATCH 1/1 Documentation: send/receive.
This adds documentation for 'smarter push' family of commands.
Signed-off-by Junio C Hamano <[email protected]>
---
Documentation/git-receive-pack.txt | 41 ++++++++++++++++++++++++++++++++ Documentation/git-send-pack.txt | 46 ++++++++++++++++++++++++++++++++++++ send-pack.c | 3 ++ 3 files changed, 89 insertions(+), 1 deletions(-) create mode 100644 Documentation/git-receive-pack.txt create mode 100644 Documentation/git-send-pack.txt
1cf367fc165560b68a51b6ce4cc91d809cf09c99
Documentation/git-receive-pack.txt new file +41 -0
@@ -0,0 +1,41 @@ +git-receive-pack(1) +=================== +v0.1, July 2005 + +NAME +---- +git-receive-pack - Receive what is pushed into it + + +SYNOPSIS +-------- +'git-receive-pack' <directory> + +DESCRIPTION +----------- +Invoked by 'git-send-pack' and updates the repository with the +information fed from the remote end. + +This command is usually not invoked directly by the end user. +The UI for the protocol is on the 'git-send-pack' side, and the +program pair is meant to be used to push updates to remote +repository. For pull operations, see 'git-fetch-pack' and +'git-clone-pack'. + + +OPTIONS +------- +<directory>:: + The repository to sync into. + +Author +------ +Written by Linus Torvalds <[email protected]> + +Documentation +-------------- +Documentation by Junio C Hamano. + +GIT +--- +Part of the link:git.html[git] suite
Documentation/git-send-pack.txt new file +46 -0
46 lines not on this page · raw message
send-pack.c +2 -1
@@ -2,7 +2,8 @@#include "refs.h" #include "pkt-line.h" -static const char send_pack_usage[] ="git-send-pack [--exec=other] destination [heads]*" ; +static const char send_pack_usage[] = +"git-send-pack [--exec=git-receive-pack] [host:]directory [heads]*" ;static const char *exec ="git-receive-pack" ;struct ref {