diff options
author | Sean Whitton <spwhitton@spwhitton.name> | 2022-09-12 14:31:18 -0700 |
---|---|---|
committer | Sean Whitton <spwhitton@spwhitton.name> | 2022-09-12 15:29:51 -0700 |
commit | a64452ed4f4427d0eca8e8a98877ecc7870ae620 (patch) | |
tree | 2307de0a723a78f1e02a0b601fbffad529c8914b /.gitconfig | |
parent | f5310d65cd229c081cc52b419971fbf51b838f7a (diff) | |
download | dotfiles-a64452ed4f4427d0eca8e8a98877ecc7870ae620.tar.gz |
add 'git sco' alias
Diffstat (limited to '.gitconfig')
-rw-r--r-- | .gitconfig | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -18,6 +18,7 @@ v = log --graph --full-history -n 30 --decorate --oneline --branches --all ov = log --graph --full-history -n 30 --decorate --oneline --branches --all --simplify-by-decoration co = checkout + sco = "!f() { git stash && git checkout \"$@\"; git stash pop; }; f" # # "git exec blah" runs blah from the root of the worktree since shell # # alias are always run from the root of the worktree |