Skip to content

Instantly share code, notes, and snippets.

@thibault
Created July 5, 2016 13:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save thibault/d8699324637dad33bec50741ad3910d1 to your computer and use it in GitHub Desktop.
Save thibault/d8699324637dad33bec50741ad3910d1 to your computer and use it in GitHub Desktop.
A nice starting git config file
[user]
mail = youremail@test.com
name = Your Name
[color]
ui = true
[alias]
lg = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --all
[push]
default = current
[pull]
rebase = preserve
[merge]
conflictstyle = diff3
[diff]
compactionHeuristic = true
renames = true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment