I'm using SourceTree to version control a WordPress site. I'm excluding the wp-content/uploads folder, as this contains images mostly, however I want to make an exception for a folder that needs to be version controlled and can't be moved out of the uploads folder.
I've tried using the "standard" Git exception character of ! before the folder path (http://git-scm.com/docs/gitignore) but it's not working. I found a forum that stated that Git v1.5.4.1 doesn't support it (https://gist.github.com/jdbartlett/444295#comment-24598) but I can't tell which version it is.
Any help would be appreciated. Thanks,
Joel
Thanks Seth. I'm running git version 1.8.5.2 (Apple Git-48) so I assume the exception (!) should be working. Hmm...
Click the "terminal" button in SourceTree and run git --version
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.