Git i have default master branch and origin/master.
To list the remote and local branches i used git branch -a
Next when i am using cmd git branch -vv
when i am using git branch -vv inside the box with color of blue [origin/master] is available so what is mean by that ?
Could you please some one help me ?
The text in blue is showing you the upstream branch which is associated with the local branch. ie origin/master
is the upstream branch of master
.
More information here: https://git-scm.com/book/ch3-5.html
That shows you which branch that branch is tracking. In your case, master
is tracking origin/master
.
Ttracking branches, when pushed, push to the branch they track.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.