1
0
Fork 0

add g.. alias

pull/1017/head
Matt Hamilton 9 years ago
parent f2a826e963
commit 2d631a01fa

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

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

Loading…
Cancel
Save