diff options
author | Sean Whitton <spwhitton@spwhitton.name> | 2015-11-26 15:45:00 -0700 |
---|---|---|
committer | Sean Whitton <spwhitton@spwhitton.name> | 2015-11-26 15:45:00 -0700 |
commit | 6ef3a6193c5f068201735b33c2c622882f9194bf (patch) | |
tree | a4ac2d24a5ea19986af5f418dfcb8c9496c701bf /.gitconfig | |
parent | b7b92833949218e6fa158f7529c515f1f95d52d7 (diff) | |
download | dotfiles-6ef3a6193c5f068201735b33c2c622882f9194bf.tar.gz |
git exec alias
Diffstat (limited to '.gitconfig')
-rw-r--r-- | .gitconfig | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -18,6 +18,12 @@ ov = log --graph --full-history -n 30 --decorate --oneline --branches --all --simplify-by-decoration co = checkout + # "git exec blah" runs blah from the root of the worktree since shell + # alias are always run from the root of the worktree + + # http://stackoverflow.com/questions/957928/is-there-a-way-to-get-the-git-root-directory-in-one-command#comment9747528_957978 + exec = "!exec " + [core] # no pager thanks pager = |