Created
May 18, 2015 13:38
-
-
Save rpechayr/970fa18b7749872d2de8 to your computer and use it in GitHub Desktop.
Git config
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 = <githubusername> | |
email = <email> | |
[alias] | |
co = checkout | |
ci = commit | |
br = branch | |
st = status | |
lg = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit | |
m = checkout master | |
fo = fetch origin | |
mom = merge origin master | |
sweep = !git branch --merged master | grep -v 'master$' | xargs git branch -d\ | |
&& git remote prune origin | |
[color] | |
diff = auto | |
status = auto | |
branch = auto | |
[core] | |
excludesfile = /Users/<osXuser>/.gitignore | |
editor = vim | |
autocrlf = input | |
[apply] | |
whitespace = nowarn | |
[format] | |
pretty = %C(yellow)%h%Creset %s %C(red)(%cr)%Creset | |
[github] | |
user = <githubusername> | |
token = | |
[filter "media"] | |
clean = git-media-clean %f | |
smudge = git-media-smudge %f |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment