Last active
January 29, 2024 15:50
-
-
Save kidal5/9a587960b31804659144869ecffe16ee to your computer and use it in GitHub Desktop.
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
nano ~/.bashrc | |
source ~/.bashrc | |
# usefull git aliases | |
alias gc='git checkout' | |
alias gcb='git checkout -b' | |
alias gd='git diff' | |
alias gf='git fetch' | |
alias gl='clear && git log --decorate --oneline --graph -n 40' | |
alias ggl='gl --all' | |
alias gp='git push' | |
alias gpf='git push --force' | |
alias gpl='git pull' | |
alias grhh='git reset --hard HEAD' | |
alias gs='git status' | |
alias cls='clear' | |
alias ccat='clear && cat' | |
alias gsu='git submodule update --init --recursive' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment