diff options
author | Hendrik Jaeger <git-commit@henk.geekmail.org> | 2020-11-24 20:48:17 +0100 |
---|---|---|
committer | Hendrik Jaeger <git-commit@henk.geekmail.org> | 2020-11-24 20:48:17 +0100 |
commit | 2d64703f4e4268635e3e058656af5a288ea1f7c3 (patch) | |
tree | 681cfbd48f9176c2fc86a3d7f6c657b2d2372c48 /.config/git/config | |
parent | c25ff5d0ca2e07a4ae406e83234e9442579c84f9 (diff) |
Add switch and restore aliases
Diffstat (limited to '.config/git/config')
-rw-r--r-- | .config/git/config | 5 |
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" |