0

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.

user3456901
  • 13
  • 1
  • 5
  • 5
    Add those files to your .gitignore file. Please see http://stackoverflow.com/a/23035828/2295034 – Jonathan.Brink Dec 16 '15 at 00:57
  • 5
    Possible 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

0 Answers0