On 2/23/12 3:45 AM, Igor Galić wrote:
----- Original Message -----
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?
So I guess the best thing you can do is create an Alias?
Yeah. As you know, it's very easy to make a script a git "alias", e.g.
[alias]
svn-diff = !/home/leif/bin/git-svn-diff
-- leif