Skip to content

Instantly share code, notes, and snippets.

@SpartakusMd SpartakusMd/.gitconfig
Last active Aug 26, 2016

Embed
What would you like to do?
Default .gitconfig
[color]
ui = true
[color "branch"]
current = yellow reverse
local = yellow
remote = green
[color "diff"]
meta = yellow bold
frag = magenta bold
old = red bold
new = green bold
[color "status"]
added = yellow
changed = green
untracked = cyan
[alias]
st = status
ci = commit
br = branch
co = checkout
df = diff
lg = "log --oneline --graph --decorate"
compare = "log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr)%Creset' --abbrev-commit --date=relative"
who = shortlog -s --
[push]
default = matching
[core]
mergeoptions = --no-edit
filemode = false
autocrlf = input
[file]
mode = false
[url "https://github.com/"]
insteadOf = git@github.com:
[url "https://"]
insteadOf = git://
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.