Why is git ignoring a file?

I was working on a project the other day and git was ignoring .sql files I was needing to check in, but I was having trouble figuring out which .gitignore file contained the offending pattern. After a little digging, I discovered another this useful command: […]

Read more

Ignoring files in git that are in the repository

Often I find that I am working on a project that has files under version control that I need to change in my environment, but never commit. A frequent example is the database.yml file in a rails project. Let’s put aside all the reasons you […]

Read more