Am 30.07.2012 19:09, schrieb Yves Blusseau: > Hi all, > is it possible to avoid merge workflow to have a linear history of > commits and avoid the conflicts on the repository ? > Here are some articles that explain why Merge Workflow is "bad": > http://www.randyfay.com/node/89 > http://www.randyfay.com/node/91 > > Also it's preferable to commit only new "features" in the 'next' branch > and leave the master alone. > The 'master' branch will only be updated when we'll release a new > version of BuC. > > For me the "best" approach will be: > > git checkout next # Check out the "next" branch > git pull --rebase -p # Get the latest version from remote > git checkout -b my_feature # create our own topical branch 'my_feature' > > Regulary do: > git fetch origin # Update your repository's origin/ branches from > remote repo > git rebase origin/next # Plop our commits on top of everybody else's > "next" branch > ... # do stuff here.. Make commits.. test... > > When you are ready to push your modifications: > git checkout next # Switch to the local tracking branch > git pull --rebase -p # Get the latest version from remote > git rebase my_feature # Pull those commits over to the "next" branch > git push # Push the "next" branch back up, with my stuff > on the top > > What do you think about that ? >
Yves; I'm by no way an git expert and therefor open to every wise decision :) Unfortunately Andrew, who can give a valid response is out of town, so some patience is needed. Though a short note about what we have done over the weekend, maybe not in the best way. 4.3 has been tagged and released. A new branch for 4.3-fixes has been created. So 4.3 (and 4.x) has put into maintenance mode. The next branch has been merged into master, because master now is targeting to 5.0. The next branch is now obsolete and if possible could be even removed/deleted. kp ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ leaf-devel mailing list leaf-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/leaf-devel