commit c58d6e62e8677903ec7c8fd2156e8508ef5bd866
parent a9f0c47bdf71b99ec2f8518c966f45678a7cd1a9
Author: Alex Balgavy <a.balgavy@gmail.com>
Date: Mon, 13 Apr 2020 22:34:19 +0200
git: stash staged alias
Former-commit-id: 08b2903f084014e959e0c32984a714e750a0e8ac
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/git/gitconfig b/git/gitconfig
@@ -40,7 +40,7 @@
rp = reset -p
- ss = stash push
+ ss = "!f(){ git stash push $@ -- $(git diff --staged --name-only); }; f"
sp = stash pop
sa = stash apply
sd = stash drop