git shas applies to argument instead of always HEAD

This commit is contained in:
Ivan Malison 2015-08-16 22:39:23 -07:00
parent fa5e0e4cd0
commit 7432d50a0d

View File

@ -39,7 +39,7 @@
s = status -s
set-working-tree = "!s() { local head=\"$(git rev-parse HEAD)\"; git reset --hard $1 && git reset --soft $head; }; s"
sha = rev-parse HEAD
shas = log HEAD --pretty=format:%H
shas = log --pretty=format:%H
suir = submodule update --init --recursive
tb = rev-parse --abbrev-ref --symbolic-full-name @{u}
untracked = "!u() { git status -s | grep "??" | awk '{print $2}'; }; u"