dotfiles/.local/bin/git-l

3 lines
146 B
Plaintext
Raw Normal View History

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