Read here: https://git-scm.com/docs/gitignore
"An optional prefix "!" which negates the pattern; any matching file excluded by a previous pattern will become included again"
As said, you have to exclude everything first (with pattern '*') , then include some patterns again (your desired '!*.sql').
Supported Platforms macOS Windows To make using Sourcetree as simple yet powerful as possible we embed (bundle) dependencies such as Git, Git LFS, and Mercurial. We strive to keep these...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG