Skip to content

Instantly share code, notes, and snippets.

@timfanda35
Last active August 29, 2015 13:56
Show Gist options
  • Save timfanda35/9000710 to your computer and use it in GitHub Desktop.
Save timfanda35/9000710 to your computer and use it in GitHub Desktop.
Bear 實驗室: 什麼是Git flow ? 如何在SourceTree使用Git flow管理開發! http://www.takobear.tw/12/post/2014/02/bear-git-flow-sourcetreegit-flow.html
git checkout -b develop master
git checkout develop
git merge --no-ff feature/f1
git branch -d feature/f1
git checkout master
git merge --no-ff hotfix/v0.1.1
git tag -a v0.1.1
git checkout develop
git merge --no-ff -b hotfix/v0.1.1
git branch -d hotfix/v0.1.1
git checkout master
git merge --no-ff release/v0.1.0
git tag -a v0.1.0
git checkout develop
git merge --no-ff release/v0.1.0
git branch -d release/v0.1.0
git checkout -b feature/f1 develop
git checkout -b hotfix/v0.1.1 master
git checkout -b release/v0.1.0 develop
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment