>> This should not be necessary. You ought to be able to rebase your branch >> into the form that you want before pushing it. Have a look at "git rebase >> -i", it's really handy
> +1 on "git rebase -i", it's really nice if you want to modify the commit > list, and merge changes, modify messages etc. Yes, I know about "git rebase -i" but I want something a little more automated because I will do exactly the same thing every time - squash the local commits and replace all the commit messages with a bug related one. Why not have a Perl script that takes the commit message and then handles all the other details?