Last active
July 25, 2022 16:50
-
-
Save kalineh/11161ec85c3ff1a94521ebbd9dec88f9 to your computer and use it in GitHub Desktop.
git bash aliases
This file contains hidden or 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
alias gs='git.exe status' | |
alias ga='git.exe add' | |
alias gd='git.exe diff' | |
alias gc='git.exe commit' | |
alias gl='git log --graph --pretty=format:"%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset" --abbrev-commit --date=relative --branches' | |
alias gxx='git checkout -- "*" && git clean -fd' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment