Browse Source

git: aliases: ua/up: fix

Maxim Likhachev 6 years ago
parent
commit
07491efc0f
  1. 3
      etc/soft/git/gitconfig

3
etc/soft/git/gitconfig

@ -34,12 +34,13 @@ @@ -34,12 +34,13 @@
df = diff
br = branch
cb = !git branch | grep "\\*"
st = status
p = pull
u = "!echo git push origin $(git rev-parse --abbrev-ref HEAD)"
ua = !g remote -v | awk '{ print $1 }' | uniq | xargs -IL echo "git push L $(git branch | grep '\*' | awk '{ print $2 }')"
up = "!git remote -v | awk '{ print $1 }' | uniq | xargs -IL echo git push L $(git cb | awk '{ print $2 }')"
co = checkout

Loading…
Cancel
Save