上QQ阅读APP看书,第一时间看更新
Creating feature branches
Any new features should be developed by branching off dev. Be sure to name the feature branch so that it clearly indicates the feature being worked on. For example, if you're working on the social login feature, name your branch social-login:
$ git branch
* dev
master
$ git checkout -b social-login dev
Switched to a new branch 'social-login'
If that feature has sub-features, you may create sub-branches from the main feature branch. For example, the social-login branch may include facebook-login and twitter-login sub-branches.