git: add pu alias to set remote origin and push branch

This commit is contained in:
Daniel Lundin 2022-03-12 11:04:16 +01:00
parent 9abe60f76a
commit a204a3a5da

View file

@ -34,6 +34,7 @@ f = fuzzy status
fd = fuzzy diff
fl = fuzzy log
fs = fuzzy status
pu = "!git push --set-upstream origin $(git symbolic-ref --short HEAD)"
ll = log --graph --date=relative --topo-order --pretty='format:%C(yellow)%h%C(yellow)%d %Cblue%ar %Cgreenby %an%Creset -- %s'
lla = log --graph --date=relative --topo-order --pretty='format:%Cgreen%h %Cblue%ar %Credby %an%Creset -- %s' --all