From 07491efc0f3275165ae65c18f61bdafac679c11a Mon Sep 17 00:00:00 2001 From: Maxim Likhachev Date: Thu, 24 Oct 2019 08:46:14 +0500 Subject: [PATCH] git: aliases: ua/up: fix --- etc/soft/git/gitconfig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/etc/soft/git/gitconfig b/etc/soft/git/gitconfig index f9e02d4..5b71bc6 100644 --- a/etc/soft/git/gitconfig +++ b/etc/soft/git/gitconfig @@ -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