Last active
December 16, 2015 05:59
-
-
Save amitkeret/5388246 to your computer and use it in GitHub Desktop.
Master .gitconfig file
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
[user] | |
name = Name Here | |
email = [email protected] | |
[gitweb] | |
owner = Name Here | |
[core] | |
editor = nano | |
whitespace = cr-at-eol | |
eol = lf | |
autocrlf = input | |
safecrlf = true | |
[apply] | |
whitespace = nowarn | |
ignorewhitespace = change | |
[color] | |
ui = true | |
[color "diff"] | |
whitespace = normal red | |
[alias] | |
s = status | |
l = log --graph | |
lg = log --graph --all --oneline | |
lgg = log --graph --all --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative | |
d = diff | |
dw = diff -w | |
sh = show | |
a = add | |
ai = add -i | |
c = commit | |
cm = commit -m | |
b = branch -a | |
fm = !git fetch && git merge | |
fmm = !git fetch && git merge origin/master | |
po = push origin | |
pom = push origin master | |
co = checkout | |
coh = checkout HEAD |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment