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.
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.