Skip to content

Instantly share code, notes, and snippets.

@jacksonfdam
Created September 23, 2016 14:54
Show Gist options
  • Save jacksonfdam/724c8e13c2f46a0800bc251ba6317363 to your computer and use it in GitHub Desktop.
Save jacksonfdam/724c8e13c2f46a0800bc251ba6317363 to your computer and use it in GitHub Desktop.
My Git Configs
# https://git-scm.com/book/en/Customizing-Git-Git-Attributes
# https://help.github.com/articles/dealing-with-line-endings
# Auto detect text files and perform LF normalization
* text=auto
# Force the following filetypes to have unix eols, so Windows does not break them
*.* text eol=lf
# Don't diff or textually merge source maps
*.map binary
# Avoid unreadable diffs for generated text files, eg: *.min.js
*.min.* binary
# Image files
*.jpg binary
*.jpeg binary
*.png binary
*.ico binary
# Export ignores
tests export-ignore
# https://github.com/github/linguist#using-gitattributes
node_modules/ linguist-vendored=false
# https://github.com/github/gitignore
# http://git-scm.com/docs/gitignore
# phpstorm, webstorm
.idea/
# sublime and other ide
.project
*.sublime-project
*.sublime-workspace
.brackets.json
_notes
# logs
logs/
*.log
npm-debug.log*
error_log
# OS generated files
[Tt]humbs.db
ehthumbs.db
*~
.*~
._*
*.bak
# Recycle bin folder used by different os
.Trash-*
$RECYCLE.BIN/
# Windows shortcuts
*.lnk
# Folder config file
[Dd]esktop.ini
*.DS_store
.DS_store?
# node packages
# https://docs.npmjs.com/misc/faq#should-i-check-my-node-modules-folder-into-git
node_modules/
# Bower packages
bower_components/
# svn folders
.svn/
# composer
vendor/
composer.phar
# Security tokens
*.pem
*.pub
*.crt
.env
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment