dotfiles/.local/bin/scripts/git-l

3 lines
125 B
Bash
Executable File

#!/bin/sh
git pull --rebase --autostash "$@" || (printf "\e[31;1mError - aborting rebase!\e[0m\n" >&2 && git rebase --abort)