Last active
September 19, 2016 06:59
-
-
Save poychang/128d62787f1bf5a60fcdafcb5d223b70 to your computer and use it in GitHub Desktop.
This gitignore file is for a general web project
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ----------------------------------------------------------------- | |
# Specifies intentionally untracked files to ignore when using Git | |
# http://git-scm.com/docs/gitignore | |
# | |
# This file is tailored for a general web project | |
# | |
# From the root of your project run | |
# curl -O https://gist.githubusercontent.com/poychang/128d62787f1bf5a60fcdafcb5d223b70/raw/.gitignore | |
# to download this file | |
# | |
# NOTES: | |
# The purpose of gitignore files is to ensure that certain files not | |
# tracked by Git remain untracked. | |
# | |
# To ignore uncommitted changes in a file that is already tracked, | |
# use `git update-index --assume-unchanged`. | |
# | |
# To stop tracking a file that is currently tracked, | |
# use `git rm --cached` | |
# | |
# ----------------------------------------------------------------- | |
# ignore node dependency directories | |
node_modules/ | |
# ignore bower dependency directories | |
bower_components/ | |
# ignore OS generated files | |
ehthumbs.db | |
Thumbs.db | |
# ignore log files and databases | |
*.log | |
*.sql | |
*.sqlite | |
# ignore compiled files | |
*.com | |
*.class | |
*.dll | |
*.exe | |
*.o | |
*.so | |
# ignore packaged files | |
*.7z | |
*.dmg | |
*.gz | |
*.iso | |
*.jar | |
*.rar | |
*.tar | |
*.zip | |
# ------------------------- | |
# BEGIN Whitelisted Files | |
# ------------------------- | |
# track these files, if they exist | |
!.gitignore | |
!.editorconfig |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment