Skip to content

Instantly share code, notes, and snippets.

@alfakini
Created December 2, 2011 15:20
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 alfakini/1423611 to your computer and use it in GitHub Desktop.
Save alfakini/1423611 to your computer and use it in GitHub Desktop.
Git global config
[user]
name = xxxx
email = xxxx
[github]
user = xxxx
token = xxxx
[web]
browser = google-chrome
[core]
excludesfile = /Users/alfakini/.gitignore
whitespace=fix,-indent-with-non-tab,trailing-space,cr-at-eol
[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
whitespace = red reverse
[color "status"]
added = yellow
changed = green
untracked = cyan
[alias]
amend = commit --amend
st = status
ci = commit
br = branch
co = checkout
df = diff
dc = diff --cached
lg = log -p
lol = log --graph --decorate --pretty=oneline --abbrev-commit
lola = log --graph --decorate --pretty=oneline --abbrev-commit --all
ls = ls-files
# Show files ignored by git:
ign = ls-files -o -i --exclude-standard
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment