Skip to content

Instantly share code, notes, and snippets.

@Geruhn
Last active December 21, 2015 14:28
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 Geruhn/6319849 to your computer and use it in GitHub Desktop.
Save Geruhn/6319849 to your computer and use it in GitHub Desktop.
Git: Standard .gitconfig
[color]
ui = true
[alias]
go = checkout
ci = commit -m
st = status
br = branch
hist = log --pretty=format:\"%h %ad | %s%d [%an]\" --graph --date=short
type = cat-file -t
dump = cat-file -p
[core]
excludesfile = ~/.gitignore_global
# 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
.DS_Store?
._*
.Spotlight-V100
.Trashes
ehthumbs.db
Thumbs.db
# CVS generated files #
#######################
.svn
*.svn-base
# find . -depth -name .svn -exec /bin/git.exe rm -rf --cached '{}' \; (for Windows)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment