Skip to content

Instantly share code, notes, and snippets.

@abyshakes
Created July 1, 2018 06:41
Show Gist options
  • Save abyshakes/357c9808a05315379a1a952d0d668383 to your computer and use it in GitHub Desktop.
Save abyshakes/357c9808a05315379a1a952d0d668383 to your computer and use it in GitHub Desktop.
fish git aliases
alias gd="git diff"
alias gdc="git diff --cached"
alias ga="git add"
alias gca="git commit -a -m"
alias gcm="git commit -m"
alias gbd="git branch -D"
alias gst="git status -sb --ignore-submodules"
alias gm="git merge --no-ff"
alias gpt="git push --tags"
alias gp="git push"
alias grs="git reset --soft"
alias grh="git reset --hard"
alias gb="git branch"
alias gcob="git checkout -b"
alias gco="git checkout"
alias gba="git branch -a"
alias gcp="git cherry-pick"
alias gl="git log"
alias gpom="git pull origin master"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment