Information Technology Reference
In-Depth Information
The first line:
* bar
7c9bc41 m3
informs you that your repository contains an ordinary local branch named doc . This
is your current branch and it points to the revision identified by 7c9bc41 with com-
ment m3 .
The second line:
doc
23d9855 [origin/doc] d3
informs you that your repository contains a local tracking branch named doc . The
branch that is tracked by this branch is named origin/doc .
The line:
remotes/origin/doc
23d9855 d3
informs you that your repository contains a remote tracking branch named origin/
doc .
Hence, your repository contains three different types of branches:
• Ordinary local branches
• Local tracking branches
• Remote tracking branches
Finish the recipe by deleting the relationship between the new repository and the
cloned original. You can do this with:
$ git remote rm origin
The output of
$ git branch -a -vv:
* bar
7c9bc41 m3
doc
23d9855 d3
foo
7c9bc41 m3
Search WWH ::




Custom Search