git的使用

  • Sorzen
  • 4 Minutes
  • August 30, 2017

前言

按照git flow流程系统性的使用git日常命令,弄清git流的大体流程,不再为用git发愁

git的使用

1
git flow init
1
git flow feature start MYFEATURE
1
git flow feature publish MYFEATURE
1
git flow feature pull origin MYFEATURE
1
git flow feature finish MYFEATURE
1
git flow release start RELEASE [BASE]
1
git flow release publish RELEASE
1
git flow release finish RELEASE

注:别忘了git push –tags

1
git flow hotfix start VERSION [BASENAME]
1
git flow hotfix finish VERSION

代码的回退