Last active
July 4, 2016 04:20
-
-
Save caseyfw/cf3e9fc596faaf9e88ce to your computer and use it in GitHub Desktop.
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
[color] | |
filemode = false | |
diff = auto | |
status = auto | |
branch = auto | |
pager = true | |
[alias] | |
b = branch | |
ci = commit | |
co = checkout | |
cob = checkout -b | |
d = diff | |
dc = diff --cached | |
l = log | |
lg = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative | |
lga = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative --branches | |
st = status | |
fixup = !sh -c 'git commit -a -m \"fixup! $(git log -1 --format='%s' $@)\"' - | |
squash = !sh -c 'git commit -a -m \"squash! $(git log -1 --format='%s' $@)\"' - | |
ri = rebase --interactive | |
rc = rebase --continue | |
pr = push gerrit HEAD:refs/for/master | |
mt = mergetool | |
[push] | |
default = simple | |
[core] | |
autocrlf = false |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment