Last active
January 24, 2019 09:39
-
-
Save ApoTheOne/89c6b1b2e2bbc91d90b01c6db17021cf to your computer and use it in GitHub Desktop.
Alias
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 status" | |
alias gal="git add ." | |
alias gac="git add . && git commit -m" # + commit message | |
alias gct="git commit -m" | |
alias gc="git checkout" | |
alias gcb="git checkout -b" | |
alias gpl="git pull" | |
alias gph="git push" | |
alias glg="git log" | |
alias glgp="git log --pretty=format:\"%h %s\" --graph" | |
alias gacm="!git add. && git commit -am" | |
alias guns="git reset --soft HEAD~1" | |
alias gunh="git reset --hard HEAD~1" | |
alias gunf="git reset HEAD" | |
alias cls="clear" | |
alias reload=". ~/.bashrc" # "source ~/.bashrc" # "exec bash" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment