Created
November 15, 2020 05:39
-
-
Save vojto/b999fddc5ed4f0084260d0257ca72930 to your computer and use it in GitHub Desktop.
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
alias gs="git status" | |
alias gst="git status" | |
alias ga='git add' | |
alias gc='git commit -v' | |
alias gca='git commit -v -a' | |
alias gb='git branch' | |
alias gba='git branch -a' | |
alias gco='git checkout' | |
alias gcm='git checkout master' | |
alias gp='git push' | |
alias gl='git pull' | |
alias gpo='git push -u origin $(current_branch)' | |
alias glo='git pull origin $(current_branch)' | |
alias gpnp='git pull origin $(current_branch) && git push origin $(current_branch)' | |
alias gmm='git merge master' | |
alias gs='git status' | |
alias gss='git status -s' # short status, output is like "svn status" | |
alias grh='git reset HEAD' | |
alias grhh='git reset HEAD --hard' | |
alias glg='git log --stat --max-count=5' # shows files and add/delete stats from them | |
alias glgg='git log --graph --max-count=5' # shows a merge graph alongside |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment