Last active
April 23, 2022 10:42
-
-
Save johnhunter/1170206 to your computer and use it in GitHub Desktop.
Git Bash aliases
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# git aliases | |
alias gs='git status' | |
alias ga='git add $1' | |
alias gb='git branch $1' | |
alias gcl='git clone $1' | |
alias gco='git checkout $1' | |
alias gm='git commit -m $1' | |
alias gma='git commit -am $1' | |
alias gph='git push' | |
alias gpl='git pull' | |
alias gpr='git pull -r' | |
alias gfp='git fetch -p' | |
alias gl='git log --pretty=format:"%Cgreen%h %Creset %s %Cblueby %an (%ar) %Cred %d" --graph' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment