]> git.netwichtig.de Git - user/henk/vcsh/git.git/commitdiff
Add switch and restore aliases
authorHendrik Jaeger <git-commit@henk.geekmail.org>
Tue, 24 Nov 2020 19:48:17 +0000 (20:48 +0100)
committerHendrik Jaeger <git-commit@henk.geekmail.org>
Tue, 24 Nov 2020 19:48:17 +0000 (20:48 +0100)
.config/git/config

index 4916f4aa2d87e299b54432f773dd34fef1a280bf..e3c34c58d132fdc47e83caf1e82aff14f534f163 100644 (file)
   rh1 = reset --hard HEAD^
   rh2 = reset --hard HEAD^^
 
+  rs = restore
+
   sl = stash list
   sa = stash apply
   ss = stash save
 
-  s  = status --short
   st = status --short
 
+  sw = switch
+
   # grep on filename
   f = "!git ls-files | grep -i"
   lc  = "!f() { git ll "$1"^.."$1"; }; f"