dotfiles/.local/bin/git-l

3 lines
146 B
Text
Raw Normal View History

2020-12-08 11:14:05 +01:00
#!/bin/sh
2020-12-23 13:41:45 +01:00
git pull --rebase --recurse-submodules --autostash "$@" || (printf "\e[31;1mError - aborting rebase!\e[0m\n" >&2 && git rebase --abort)