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.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.