git shas applies to argument instead of always HEAD
This commit is contained in:
parent
fa5e0e4cd0
commit
7432d50a0d
@ -39,7 +39,7 @@
|
|||||||
s = status -s
|
s = status -s
|
||||||
set-working-tree = "!s() { local head=\"$(git rev-parse HEAD)\"; git reset --hard $1 && git reset --soft $head; }; s"
|
set-working-tree = "!s() { local head=\"$(git rev-parse HEAD)\"; git reset --hard $1 && git reset --soft $head; }; s"
|
||||||
sha = rev-parse HEAD
|
sha = rev-parse HEAD
|
||||||
shas = log HEAD --pretty=format:%H
|
shas = log --pretty=format:%H
|
||||||
suir = submodule update --init --recursive
|
suir = submodule update --init --recursive
|
||||||
tb = rev-parse --abbrev-ref --symbolic-full-name @{u}
|
tb = rev-parse --abbrev-ref --symbolic-full-name @{u}
|
||||||
untracked = "!u() { git status -s | grep "??" | awk '{print $2}'; }; u"
|
untracked = "!u() { git status -s | grep "??" | awk '{print $2}'; }; u"
|
||||||
|
Loading…
Reference in New Issue
Block a user