Last active
October 13, 2015 13:59
-
-
Save MattWohler/73010a638f62a267f67e to your computer and use it in GitHub Desktop.
git aliases
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
[core] | |
autocrlf = true | |
excludesfile = C:\\Users\\m_wohler\\Documents\\gitignore_global.txt | |
[user] | |
name = Matt Wohler | |
email = [email protected] | |
[alias] | |
pu = pull | |
pr = pull --rebase | |
rb = rebase | |
co = checkout | |
st = status -s | |
br = branch | |
rh = reset --hard | |
hf = log --pretty=format:\"%h %ad | %s%d [%an]\" --graph --date=short | |
h = log -n 3 --pretty=format:\"%h %ad | %s%d [%an]\" --graph --date=short | |
type = cat-file -t | |
dump = cat-file -p | |
ec = config --global -e | |
cob = checkout -b | |
undo = reset --hard HEAD^1 | |
#pl = !git branch --merged | grep -v \* | xargs git branch -d | |
[push] | |
default = simple | |
[branch] | |
autosetupmerge = always |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment