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

5 lines
148 B
Text
Raw Normal View History

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