Skip to content

Commit

Permalink
gh to alias ghm
Browse files Browse the repository at this point in the history
  • Loading branch information
jmthvt committed Apr 27, 2020
1 parent f0af4fd commit 91a96a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aliases/available/git.aliases.bash
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ alias gswt="git switch --track"
# Git home
alias ghm='cd "$(git rev-parse --show-toplevel)"'
if ! _command_exists gh; then
alias gh='cd "$(git rev-parse --show-toplevel)"'
alias gh='ghm'
fi
# Show untracked files
alias gu='git ls-files . --exclude-standard --others'
Expand Down

0 comments on commit 91a96a4

Please sign in to comment.