#lets get the latest
git pull
#lets switch to branch and do some work
git checkout -b makeSomeBugs
#do the work commit
git add .
git commit -am "introducing some bugs"
#push this for my lazy remote friend to see
git push origin makeSomeBugs
#uh .. changes on master
git pull origin master
#do some work..
git commit -am "introducing some more bugs"
git push origin makeSomeBugs
#lets switch back to master
git checkout master
git pull
#work is done, lets merge
git merge --no-ff makeSomeBugs
git push origin
#and remove the branch to never ever see it again
git push origin :makeSomeBugs
git branch -d makeSomeBugs
Diversas fuentes de blogs (pero son bastante viejo) decir que la ramificación de este tipo en mercurial es no-go, en especial con la eliminación de la rama permanente ...Git y Mercurial: ¿qué sería equivalente al flujo de trabajo de Git en Mercurial?
He tratado y sin embargo, encontrar una manera de simular un flujo de trabajo en la rama git mercurial. La rama regular no funciona tímidamente porque no puede eliminarlos (solo ciérrelos, pero eso significa que el nombre de la rama se toma para siempre). Los marcadores se supone que son como las ramas de git, pero no parecen funcionar realmente como ellos, al menos para mí. – ryanzec
@ryanzec ¿Cómo te fallaron los marcadores? –