diff options
author | Hendrik Jäger <gitcommit@henk.geekmail.org> | 2020-12-28 15:24:39 +0100 |
---|---|---|
committer | Hendrik Jäger <gitcommit@henk.geekmail.org> | 2020-12-28 15:24:39 +0100 |
commit | 22b5c91c4f8787ca6af7d4aaca7650f8fa796c1d (patch) | |
tree | 75d02c1b70808ac0dad13c2bcf365afa07c70764 /.config/git/config | |
parent | c6684e664d87de606b0f8a0cdebabdba545207f3 (diff) |
Add alias for fetch;rebase;push
Diffstat (limited to '.config/git/config')
-rw-r--r-- | .config/git/config | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/.config/git/config b/.config/git/config index aac12ae..54452a8 100644 --- a/.config/git/config +++ b/.config/git/config @@ -121,10 +121,11 @@ remp = remote prune remu = remote update - rb = rebase - rba = rebase --abort - rbc = rebase --continue - rbi = rebase --interactive + frbp = "!f() { git fetch; git rebase "$1"; git push --force-with-lease; }; f" + rb = rebase + rba = rebase --abort + rbc = rebase --continue + rbi = rebase --interactive r = reset r1 = reset HEAD^ |