Skip to content

Instantly share code, notes, and snippets.

@kechol
Created May 23, 2012 08:57
Show Gist options
  • Save kechol/2774027 to your computer and use it in GitHub Desktop.
Save kechol/2774027 to your computer and use it in GitHub Desktop.
configuration for git
[user]
name = Your Name
email = [email protected]
[alias]
lol = log --graph --decorate --pretty=oneline --abbrev-commit
lola = log --graph --decorate --pretty=oneline --abbrev-commit --all
st = status
ci = commit
co = checkout
pl = pull
ps = push
lg = log
di = diff
br = branch -a
cl = clone
ad = add
mg = merge
[color]
branch = auto
diff = auto
interactive = auto
status = auto
[core]
excludesfile = ~/.gitignore
editor = /usr/bin/vi
pager = /usr/bin/less
# Thanks to https://github.com/github/gitignore
# for CakePHP
tmp/*
config/database.php
app/tmp/*
app/config/database.php
!empty
# for Emacs
*~
\#*\#
# for Vim
.*.sw[a-z]
*.un~
Session.vim
.netrwhist
# for Windows
Thumbs.db
Desktop.ini
# for MacOSX
.DS_Store
._*
.Spotlight-V100
.Trashes
# for svn
.svn
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment