diff options
author | Dominik Porada <porada@mailinator.com> | 2012-08-27 09:21:40 +0200 |
---|---|---|
committer | Mathias Bynens <mathias@qiwi.be> | 2012-08-27 09:22:31 +0200 |
commit | 61748c9999283a85467ead79c0a2ea6a96d4eeba (patch) | |
tree | fa14b6171ded95d72a1e079aef9b67be2033a301 | |
parent | 55ca924f90ff4f53a7fe608edc8005b17d0d107f (diff) | |
download | dotfiles-61748c9999283a85467ead79c0a2ea6a96d4eeba.tar.gz dotfiles-61748c9999283a85467ead79c0a2ea6a96d4eeba.tar.bz2 dotfiles-61748c9999283a85467ead79c0a2ea6a96d4eeba.zip |
.gitconfig: Add `reb` alias
Stolen from https://github.com/porada/dotfiles/commit/05162b585b2e9cd6a92f12e1c61e1f5687104a17.
-rw-r--r-- | .gitconfig | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -19,6 +19,8 @@ remotes = remote -v # Credit an author on the latest commit credit = "!f() { git commit --amend --author \"$1 <$2>\" -C HEAD; }; f" + # Interactive rebase with the given number of latest commits + reb = "!r() { git rebase -i HEAD~$1; }; r" # Undo a `git push` undopush = push -f origin HEAD^:master |