-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Git Gotchas and Tips
triptych edited this page Feb 15, 2013
·
20 revisions
Developing for YUI will lead you to deal with git
quite often. The purpose of this page is to list several git
gotchas as well as offer tips for using git
with YUI. If you run into any "gotchas" please feel free to add to the list!
Without an explicit , git branch
and git checkout -b
default to HEAD - which is the branch you are currently on (not necessarily master
).
So for :
$ git checkout topic-branch-one
$ git checkout -b topic-branch-two
topic-branch-two would be created off of topic-branch-one, not master.
2