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

5 lines
148 B
Plaintext
Raw Normal View History

2021-12-02 22:28:11 +00:00
#!/bin/bash
2021-11-23 14:36:24 +00:00
git rev-parse @{upstream} >/dev/null 2>&1 ||
2021-11-25 12:13:01 +00:00
git branch --set-upstream-to=@{push}
2023-04-10 16:31:48 +00:00
git pull --rebase --autostash "$@" 2> >(head -4 >&2)