Created
June 22, 2021 08:15
-
-
Save darjanin/b45258f8b46fc50676420a63bf950780 to your computer and use it in GitHub Desktop.
Alias for git
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 ga='git add' | |
alias gb='git branch' | |
alias gc='git commit -v' | |
alias gcb='git checkout -b' | |
alias gco='git checkout' | |
alias gcm='git checkout master' | |
alias gd='git diff' | |
alias gl='git pull' | |
alias gm='git merge' | |
alias glg='git log --all --graph --pretty=format:"%Cred%h%Creset -%C(auto)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset" --abbrev-commit --date=relative' | |
alias gp='git push' | |
alias gst='git status -sb' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment