I have some .java files that I want to retain local, I never want to push to origin. how can I say to source tree that please don't track these files.
Asked
Active
Viewed 329 times
0
-
5Add those files to your .gitignore file. Please see http://stackoverflow.com/a/23035828/2295034 – Jonathan.Brink Dec 16 '15 at 00:57
-
5Possible duplicate of [How to ignore all files in a folder with a git repository in SourceTree?](http://stackoverflow.com/questions/9665399/how-to-ignore-all-files-in-a-folder-with-a-git-repository-in-sourcetree) – Tᴀʀᴇǫ Mᴀʜᴍᴏᴏᴅ Dec 16 '15 at 01:12