7

I need to add a SQL file to my Git repository. For some reason Tower or Git on the command line does not see that I've added a new file whenever it ends in .sql.

I've tried creating an empty .sql and removed everything in .gitignore, but it still doesn't see it.

Any ideas?

1
  • Although this probably shouldn't matter, what OS is this on? Commented Oct 12, 2012 at 16:16

1 Answer 1

12

You probably have a global gitignore set up. This page on GitHub https://help.github.com/articles/ignoring-files recommends that SQL files are included in a global git ignore.

Follow instruction on that page to set your own global rules.

Sign up to request clarification or add additional context in comments.

1 Comment

That was the problem. THANKS!!

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.