Created
June 22, 2018 18:46
-
-
Save ArthurBrito/9b52b6271b8485ae02eec1c0e1a966fe to your computer and use it in GitHub Desktop.
Aliases for git using shell fish
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
# $ vi ~/shell.fish | |
# $ . ~/shell.fish | |
# Aliases | |
alias g='git' | |
alias gs='git status' | |
alias gl='git log' | |
alias gcm='git checkout master' | |
alias glo='git log --pretty=oneline --abbrev-commit' | |
alias gc='git commit' | |
alias gp='git push' | |
alias gpoh="git push origin HEAD" | |
alias gpohf="git push origin HEAD --force" | |
alias gfurm="git fetch upstream; and git rebase upstream/master" | |
alias gca='git commit --amend' | |
alias gcane='git commit --amend --no-edit' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment