Skip to content

Instantly share code, notes, and snippets.

@SpartakusMd
Last active August 26, 2016 20:19
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 SpartakusMd/ba5bcacc4a74578a163c9f6be6d70ff1 to your computer and use it in GitHub Desktop.
Save SpartakusMd/ba5bcacc4a74578a163c9f6be6d70ff1 to your computer and use it in GitHub Desktop.
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