Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

changing some git short cuts

  • Loading branch information...
commit de0d574661ebe201b55974db6282813d0cf0d37f 1 parent 683acfa
@seenmyfate authored
Showing with 6 additions and 16 deletions.
  1. +6 −16 plugins/git/git.plugin.zsh
View
22 plugins/git/git.plugin.zsh
@@ -3,30 +3,20 @@ alias g='git'
compdef g=git
alias gs='git status'
compdef _git gst=git-status
-alias gl='git pull'
-compdef _git gl=git-pull
+alias gl='git log --oneline --graph'
+compdef _git gl=git-log
alias gf='git fetch'
compdef _git gf=git-fetch
-alias gup='git fetch && git rebase'
-compdef _git gup=git-fetch-rebase
-alias gp='git push'
-compdef _git gp=git-push
-gdv() { git-diff -w "$@" | view - }
-compdef _git gdv=git-diff
+alias gfo='git fetch origin'
+compdef _git gfo=git-fetch-origin
alias gc='git commit -v'
compdef _git gc=git-commit
-alias gca='git commit -v -a'
-compdef _git gca=git-commit
alias gco='git checkout'
compdef _git gco=git-checkout
-alias gb='git branch'
-compdef _git gb=git-branch
-alias gba='git branch -a'
-compdef _git gba=git-branch
+alias gb='git checkout -b'
+compdef _git gb=git-checkout-b
alias gcount='git shortlog -sn'
compdef gcount=git
-alias gcp='git cherry-pick'
-compdef _git gcp=git-cherry-pick
alias glg='git log --stat --max-count=5'
compdef _git glg=git-log
alias glgg='git log --graph --max-count=5'
Please sign in to comment.
Something went wrong with that request. Please try again.