Some Gitignore Templates

Here you can find .gitignore templates, which you can copy and paste into your .gitignore right away.

I will use them when initializing projects. They are wrapped with cat, so that you could post in the shell right away. Comments are there as well

cat<<EOF>>.gitignore
# General
.bundle
.DS_Store
.DS_Store?
*.swp
*.bak
*.save
*.log
.idea
*.sage
*.orig
*.old
*.pyc
EOF

cat<<EOF>>.gitignore
# Rails
.byebug_history
coverage
EOF

By the way, you know that copying from websites into shell is a bad idea, right?



Thanks for reading my blog!
Created: 10/08/2017
Last edited on: 10/08/2017
Your comment: