Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #1) Add to your ~/.gitconfig file
- #
- # [core]
- # excludesfile = /home/username/.gitignore
- # 2) Create a ~/.gitignore file with file patterns to be ignored
- # 3) Save your dot files in another repo so you have a backup (optional).
- # $ mv config/database.yml config/databse.yml.example
- # Remove files from tracking
- # Put it to .gitignore
- # $ git rm --cached /path/to/file
- .*
- ~*
- *~
- *.swp
- *.swo
- *.tmp
- !.gitignore
- !.gitmodule
- !.autotest
- db/*.sqlite3
- db/sphinx
- config/*.yml
- coverage
- doc
- log
- public/index.html
- public/system
- tmp
- test/fixtures
- test/integration
- .DS_Store
Add Comment
Please, Sign In to add comment