Closed jeanluct closed 9 years ago
Created branches develop
and release-2.2-branch
.
Removed devel
folder in 402d468 on release-2.2-branch
.
This is useful for what to do with development branches once a feature is merged:
http://stackoverflow.com/questions/8614112/how-to-close-off-a-git-branch
Basically, you tag the branch and then delete it. Branches are only pointers, as are tags. The difference is that branches are also heads, and move with each commit.
Better to merge from the branch you want to merge into:
Sometimes it might be helpful to avoid the "merge commit" when pulling by using git pull --rebase origin master
.
This is helpful: http://nvie.com/posts/a-successful-git-branching-model/
Some notes on GitFlow style after release-3.0
Ok, the first merge from develop
to release-3.0-branch
to master
went pretty well. The only mishap was to leave some files in the devel
folder that got merged in from develop
with no conflict, so to avoid extra commits on master
I rolled back master
with git reset --hard
. (I miss Mercurial's rollback
!)
Also, make sure to merge from master with git merge --no-ff
to avoid a string of commits on master
.
Finally, what's the use of the release branch? I guess it's a good idea to keep things clean (for deleting devel
, for instance), but there not much point in creating it unless there's a string of bugfixes to be done. But don't delete devel
until right before we're ready to merge into master
.
Closing this, to be used later for reference.
Moved this info to https://github.com/jeanluct/braidlab/wiki/braidflow-worflow.
After 2.2:
See https://www.atlassian.com/git/tutorials/comparing-workflows/gitflow-workflow