Skip to content

Instantly share code, notes, and snippets.

@jgrenat
Created August 31, 2015 12:57
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 jgrenat/61bd39c886ff02923eec to your computer and use it in GitHub Desktop.
Save jgrenat/61bd39c886ff02923eec to your computer and use it in GitHub Desktop.
Config github
[user]
name = @@@@@@@
email = @@@@@@@
[color "branch"]
upstream = cyan
[core]
excludesfile = /Users/@@@@@@/.gitignore_global
ignorecase = true
precomposeunicode = true
conflictstyle = diff3
[log]
abbrevCommit = true
[alias]
tidy = rebase -i @{upstream}..
ci = commit
st = status
oops = commit --amend --no-edit
co = checkout
lg = log --graph --pretty=tformat:'%Cred%h%Creset -%C(auto)%d%Creset %s %Cgreen(%an %ar)%Creset'
wd = diff --color-words
conflicts = !git ls-files -u | cut -f 2 | sort -u
fp = push -f
m = checkout master
cb = checkout -b
[diff]
mnemonicprefix = true
wordRegex = .
[grep]
extendedRegexp = true
[pull]
rebase = preserve
[push]
default = upstream
[help]
format = html
[merge]
conflictstyle = diff3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment