Consider the following thread:
1) git checkout -b newbranch
2) Make some commits ....
3)
git push
Observation
- newbranch does NOT track remote
- a new branch was created on the bitbucket: 'newbranch'
Why can I click pull from this thread? I just read http://git-scm.com/book/ch3-5.html and as far as I understand this should not work.
Because I can use "newbranch" in collaboration with others, merging, etc.
Basically, I do not see the difference between the tracking branch and the branch without tracking. Perhaps this is due to the fact that I use only git for special cases when the difference does not matter?
Comment: I understand tracking and how to set it up. The problem is that I donβt understand why the installation without tracking works the way it is. I also realized that I used git like this for a while
As stated in the comments:
$ git config -l user.email=********$ user.name=********* push.default=current color.ui=true core.editor=vim credential.helper=cache --timeout=3600 core.repositoryformatversion=0 core.filemode=true core.bare=false core.logallrefupdates=true remote.origin.url=******** remote.origin.fetch=+refs/heads/*:refs/remotes/origin/* branch.master.remote=origin branch.master.merge=refs/heads/master
-
source share