diff options
author | Junio C Hamano <junkio@cox.net> | 2005-07-16 00:17:42 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-07-16 09:23:06 -0700 |
commit | 0c04094bc153ef1073524267b4eb49989c7b8ccb (patch) | |
tree | 29413b70d9271859636ae3f00462ea3347c4916a /Documentation/git-fetch-script.txt | |
parent | f170e4b39d87365cda17b80436ba6db4a2044e88 (diff) | |
download | git-0c04094bc153ef1073524267b4eb49989c7b8ccb.tar.gz git-0c04094bc153ef1073524267b4eb49989c7b8ccb.tar.xz |
[PATCH] Documentation: describe short-hand used in fetch/pull.
Describe short-hand for remote repository used in fetch/pull.
Signed-off-by: Junio C Hamano <junkio@cox.net>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'Documentation/git-fetch-script.txt')
-rw-r--r-- | Documentation/git-fetch-script.txt | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/Documentation/git-fetch-script.txt b/Documentation/git-fetch-script.txt new file mode 100644 index 000000000..937df05db --- /dev/null +++ b/Documentation/git-fetch-script.txt @@ -0,0 +1,47 @@ +git-fetch-script(1) +=================== +v0.1, July 2005 + +NAME +---- +git-fetch-script - Download objects and a head from another repository. + + +SYNOPSIS +-------- +'git-fetch-script' <repository> [ <head> | tag <tag> ] + + +DESCRIPTION +----------- +Fetches a named head or a tag from another repository, along +with the objects necessary to complete that head or tag. The +head to pull defaults to HEAD if unspecified. The head or tag +fetched from the remote repository is stored in +$GIT_DIR/FETCH_HEAD. + +When a <tag> is specified, the <tag> fetched from the remote is +also copied to the local $GIT_DIR/tags/<tag> file. When no +<head> nor <tag> is specified, and <repository> was specified +with the short-hand notation (i.e. naming a file under the +$GIT_DIR/branches directory), the head fetched from the remote +repository is also copied to the local $GIT_DIR/heads/<repository> +file. + + +OPTIONS +------- +include::pull-fetch-param.txt[] + + +Author +------ +Written by Linus Torvalds <torvalds@osdl.org> and Junio C Hamano <junkio@cox.net> + +Documentation +-------------- +Documentation by David Greaves, Junio C Hamano and the git-list <git@vger.kernel.org>. + +GIT +--- +Part of the link:git.html[git] suite |