My .gitignore file, in a project file, contains /Carthage/Checkouts/, but Source Tree won't ignore the folder hierarchy that exists in that project folder at Carthage/Checkouts. I've also tried:
Carthage/Checkouts/
/Carthage/Checkouts/*
/Carthage/Checkouts/**
None of these cause Source Tree to ignore that folder hierarchy. What is the magic syntax that I'm missing?
Are there files in that folder that have already been committed to Git? If so, you need to "remove" them from Git before they can be ignored.
Yeah, that's my first thought as well
Use
git rm --cached <filename>
to remove a file from the repo without deleting it from your working directory.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Once you've done that, any one of your examples should work
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.