summaryrefslogtreecommitdiff
path: root/.config/git/config
diff options
context:
space:
mode:
Diffstat (limited to '.config/git/config')
-rw-r--r--.config/git/config5
1 files changed, 4 insertions, 1 deletions
diff --git a/.config/git/config b/.config/git/config
index 4916f4a..e3c34c5 100644
--- a/.config/git/config
+++ b/.config/git/config
@@ -106,13 +106,16 @@
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"