Last active
January 13, 2020 16:14
-
-
Save thiagolsfortunato/47a4bc2ff5961c681fc74469ce0b10dd to your computer and use it in GitHub Desktop.
.git_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
# shellcheck shell=sh | |
alias {gadd,ga}='git add ' | |
alias {gbra,gb}='git branch' | |
alias {gco,go}='git checkout' | |
alias {gcob,gob}='git checkout -b ' | |
alias {gcom,gc}='git commit' | |
alias {gcomam,gcam}='git commit --amend' | |
alias {gpul,gpl}='git pull ' | |
alias {gpus,gps}='git push ' | |
alias {gpusf,gpsf}='git push -f' | |
alias {gsta,gst}='git status' | |
alias {gl}='git log' | |
alias {glo}='git log --oneline' | |
alias g='git' | |
alias gg='git grep ' | |
alias gpushom='git push origin master' | |
alias gpullom='git pull origin master' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
add on
~/.bashrc
:https://gist.github.com/thiagolsfortunato/1314ddbc021586e17434b7377c523a6f#file-bashrc-L171