Last active
August 29, 2015 13:56
-
-
Save angus65/9026904 to your computer and use it in GitHub Desktop.
git alias commands for bashrc
This file contains hidden or 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 less='less -r' | |
# --show-control-chars: help showing Korean or accented characters | |
alias ls='ls -F --color --show-control-chars' | |
alias ll='ls -l' | |
alias g='git ' | |
alias got='git ' | |
alias get='git ' | |
alias ga='git add ' | |
alias gb='git branch ' | |
alias gba='git branch -a' | |
alias gc='git commit -v' | |
alias gca='git commit -v -a' | |
alias gco='git checkout ' | |
alias gcob='git checkout -b' | |
#Diff is not working right now | |
alias gd='git diff' | |
alias gdd='git diff | C:\Program Files (x86)\WinMerge\WinMergeU.exe -e -ub -dl %bname -dr %yname %base %mine' | |
alias glg='git log --stat --max-count=5' | |
alias glogp='git log --pretty=format:"%h %s" --graph' | |
#gfc stands for Git File Change | |
alias gfc='git log --pretty=format: --name-only | grep .cs$ | sort | uniq -c | sort -rg | head -20' | |
#gitk is the windows gui for git | |
alias gk='gitk --all&' | |
alias gpl='git pull' | |
alias gpu='git push' | |
alias gs='git status ' | |
alias gup='git fetch && git rebase' | |
alias gcount='git shortlog -sn' | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment