add g.. alias

This commit is contained in:
Matt Hamilton 2015-09-24 07:29:56 -04:00
parent f2a826e963
commit 2d631a01fa
2 changed files with 7 additions and 0 deletions

View file

@ -208,6 +208,10 @@ Aliases
- `gwX` removes files from the working tree and from the index recursively and
forcefully.
### Miscellaneous
- `g..` changes to the root of the git repository.
### Shadows
The following aliases may shadow system commands:

View file

@ -179,3 +179,6 @@ alias gwc='git clean -n'
alias gwC='git clean -f'
alias gwx='git rm -r'
alias gwX='git rm -rf'
# Misc
alias g..='cd $(git-root || echo ".")'