diff options
author | Mattias Andrée <maandree@operamail.com> | 2013-08-16 02:50:10 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2013-08-16 02:50:10 +0200 |
commit | ea416f05b1c74f553721be58a5e7e5cb1cba48ce (patch) | |
tree | 0ca5888abd906f004933058f91b95e6e7fd4b63d /using-git.texinfo | |
parent | integrity (diff) | |
download | using-git-ea416f05b1c74f553721be58a5e7e5cb1cba48ce.tar.gz using-git-ea416f05b1c74f553721be58a5e7e5cb1cba48ce.tar.bz2 using-git-ea416f05b1c74f553721be58a5e7e5cb1cba48ce.tar.xz |
cloning repositories
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'using-git.texinfo')
-rw-r--r-- | using-git.texinfo | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/using-git.texinfo b/using-git.texinfo index 71ef58b..ce906d3 100644 --- a/using-git.texinfo +++ b/using-git.texinfo @@ -53,6 +53,7 @@ Texts. A copy of the license is included in the section entitled * Getting started:: * Introduction:: * Branching out:: +* Collaborating:: * GNU Free Documentation License:: @end menu @@ -466,6 +467,34 @@ the files and make a new commit. +@node Collaborating +@chapter Collaborating + +@menu +* Cloning a repository:: +@end menu + + + +@node Cloning a repository +@section Cloning a repository + +The first thing you need to do in order +to begin collaboration is the clone the +repository: + +@example +git clone REPOSITORY -o upstream +@end example + +By including @command{-o upstream}, git +sets up the cloned repository as a +remote repository named `upstream'. + +If you want to access a branch in the +upstream repository, use +@code{upstream/BRANCH} as the branch name. + @node GNU Free Documentation License |