On 4/26/08, Peter Karlsson <peter@xxxxxxxxxxxxxxxx> wrote: > Is there any way of not having to do the "git checkout master" first? > Basically I want a flag to merge or checkout saying that I want to merge my > branch into the branch I'm switching to. I can't seem to find any such flag. How about this? git merge master git branch -D master git branch master HEAD In other words, just make a copy of your current branch after merging and call it the new 'master'. That's all fast forwarding would do anyhow. Have fun, Avery -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html