Skip to content

Instantly share code, notes, and snippets.

@mutcianm
Created August 10, 2016 12:50
Show Gist options
  • Save mutcianm/07c4581d32fad45be0f1e64c4b2a7b03 to your computer and use it in GitHub Desktop.
Save mutcianm/07c4581d32fad45be0f1e64c4b2a7b03 to your computer and use it in GitHub Desktop.
[user]
email = YOUR_EMAIL
name = YOUR_NAME
[push]
default = simple
[color]
ui = auto
[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
[color]
ui = true
[color "diff"]
whitespace = red reverse
[core]
whitespace=fix,-indent-with-non-tab,trailing-space,cr-at-eol
autocrlf = input
[alias]
st = status -sb
cm = commit
br = branch
co = checkout
df = diff --word-diff
dc = diff --cached
lg = log -p
ls = ls-files
lol = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit
lola = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --all
unfuck = reset --merge ORIG_HEAD
# Show files ignored by git:
ign = ls-files -o -i --exclude-standard
[rerere]
enabled = 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment