Leif Gruenwoldt Leif Gruenwoldt - 1 year ago 146
Git Question

How to do a rebase with git gui?

I know how to do a git rebase from the command line, but how do you do it with the official git-gui?

Answer Source

Add this to the .gitconfig file in your home directory to add rebase commands to the Tools menu:

[guitool "Rebase onto..."]
    cmd = git rebase $REVISION
    revprompt = yes
[guitool "Rebase/Continue"]
    cmd = git rebase --continue
[guitool "Rebase/Skip"]
    cmd = git rebase --skip
[guitool "Rebase/Abort"]
    cmd = git rebase --abort
[guitool "Pull with Rebase"]
    cmd = git pull --rebase
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download