From: Oleg Broytman Date: Wed, 3 Jun 2015 22:24:19 +0000 (+0300) Subject: Explain creation of local branch from remote one X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;h=e32d8a3898bc6047a8855cec051c4bcbc22fcb4e;p=git-wiki.git Explain creation of local branch from remote one --- diff --git a/pep-git.txt b/pep-git.txt index ef0274c..73b2ecb 100644 --- a/pep-git.txt +++ b/pep-git.txt @@ -174,8 +174,9 @@ When you do an initial clone like this:: $ git clone -b v1 http://git.python.org/python.git git clones remote repository ``http://git.python.org/python.git`` to -directory ``python``, creates remote branches and checks out branch -``v1`` into the working directory. +directory ``python``, creates remote branches, creates a local branch +``v1``, configure it to track upstream remotes/origin/v1 branch and +checks out ``v1`` into the working directory. Updating local and remote branches ----------------------------------