dotfiles/.local/bin/git-l

3 lines
125 B
Plaintext
Raw Normal View History

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