Remove -a from save alias

Allow more control over which changes are saved when using the save
alias by removing the `-a` flag.
This commit is contained in:
Kenneth Benzie 2019-10-11 11:06:03 +01:00
parent 2e5cf11730
commit 46f722b2a7

2
config
View File

@ -33,7 +33,7 @@
%C(white)%s%C(reset) %C(dim white)- %an%C(reset)' %C(white)%s%C(reset) %C(dim white)- %an%C(reset)'
tracking = rev-parse --abbrev-ref --symbolic-full-name @{u} tracking = rev-parse --abbrev-ref --symbolic-full-name @{u}
save = commit -am "temp!" save = commit -m "temp!"
load = !sh -c '[ \"temp!\" = \"`git show --format=%s --no-patch`\" ] && \ load = !sh -c '[ \"temp!\" = \"`git show --format=%s --no-patch`\" ] && \
git reset --mixed HEAD~ || echo \"error: commit subject is not: temp!\"' git reset --mixed HEAD~ || echo \"error: commit subject is not: temp!\"'