Guest User

Untitled

a guest
May 26th, 2018
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.55 KB | None | 0 0
  1. #1) Add to your ~/.gitconfig file
  2. #
  3. # [core]
  4. # excludesfile = /home/username/.gitignore
  5. # 2) Create a ~/.gitignore file with file patterns to be ignored
  6. # 3) Save your dot files in another repo so you have a backup (optional).
  7.  
  8. # $ mv config/database.yml config/databse.yml.example
  9.  
  10. # Remove files from tracking
  11. # Put it to .gitignore
  12. # $ git rm --cached /path/to/file
  13.  
  14. .*
  15. ~*
  16. *~
  17. *.swp
  18. *.swo
  19. *.tmp
  20. !.gitignore
  21. !.gitmodule
  22. !.autotest
  23. db/*.sqlite3
  24. db/sphinx
  25. config/*.yml
  26. coverage
  27. doc
  28. log
  29. public/index.html
  30. public/system
  31. tmp
  32. test/fixtures
  33. test/integration
  34. .DS_Store
Add Comment
Please, Sign In to add comment