Skip to content

Instantly share code, notes, and snippets.

@ticean
Created October 4, 2011 20:44
Show Gist options
  • Save ticean/1262745 to your computer and use it in GitHub Desktop.
Save ticean/1262745 to your computer and use it in GitHub Desktop.
My Git Configuration
[user]
name = <redacted>
email = <redacted>
signingkey = <redacted>
[core]
excludesfile = /home/ticean/.gitignore
filemode = true
editor = vim
autocrlf = input
[color]
diff = true
branch = auto
status = auto
[merge]
tool = kdiff3
[alias]
fix = commit -a --amend -C HEAD
unpushed = log --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative --branches --not --remotes
changes=diff --name-status -r
diffstat=diff --stat -r
lg = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative
io = "!sh -c 'curl -i http://git.io -F url=$1' -"
# Compiled source #
###################
*.class
*.dll
*.exe
*.o
*.so
# Logs and databases #
######################
*.log
*.sqlite
# OS generated files #
######################
.DS_Store?
ehthumbs.db
Icon?
Thumbs.db
# IDE Related Things
######################
.buildpath
.idea
.project
.settings
*.swp
*.swo
# Other Misc
######################
.bundle
.rbenv-vars
.vagrant
/bin/
/vendor/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment