Skip to content

Instantly share code, notes, and snippets.

@stevenklise
Created September 25, 2012 02:33
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 stevenklise/3779656 to your computer and use it in GitHub Desktop.
Save stevenklise/3779656 to your computer and use it in GitHub Desktop.
Gitconfig and gitignore
# http://help.github.com/ignore-files/
# git config --global core.excludesfile ~/.gitignore_global
# Ruby Config #
###############
.sass-cache/
.bundle/
# Compiled source #
###################
*.com
*.class
*.dll
*.exe
*.o
*.so
# Packages #
############
# it's better to unpack these files and commit the raw source
# git has its own built in compression methods
*.7z
*.dmg
*.gz
*.iso
*.jar
*.rar
*.tar
*.zip
# Logs and databases #
######################
*.log
*.sql
*.sqlite
# OS generated files #
######################
.DS_Store?
ehthumbs.db
Icon?
Thumbs.db
[color]
branch = auto
diff = auto
status = 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
[alias]
co = checkout
cm = commit -m
st = status --short
br = branch
l = log --pretty="format:%C(yellow)%h%Cblue%d%Creset %s %C(white) %an, %ar%Creset" --graph
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment