Agile git Workflow
http://geewax.org/2009/11/21/agile-git-workflow.html より。
ここで推奨されてるフローは
- Branch off of master to work on the feature
- Work, work, work, commit, commit, commit
- Pull down any updates to master
- Rebase and squash the feature branch to master’s HEAD
- Merge the feature branch back to master
- Push up to the shared repository
との事。push する前に master を update して rebase しなさい、との事。あまり rebase の意味が分かってなかったんですが、曰く_Keeping the shared repository linear_との事。ググッてみたら以下なコンテンツに hit
なるほど。確かに線形になりますな。