Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

I can't stop tracking files in source Tree

I added to my repository files that I don't want to track now. I don't want them to appear in this pending files window but I don't wont to delete them from the project. The problem is that I don't know how to fix it. I tried everything. I even deleted them from repository(but not from the project so they were still on my disk) but after it they appeared in deleted files. It is really annoying. So how to get rid of this /target/ files.

Warning: Stop tracking option dosen't work! There is no reaction on it.

enter image description here

like image 481
Przemek Avatar asked Aug 28 '16 10:08

Przemek


2 Answers

Here is an answer in Atlassian answers

It is said there that: The issue seems to be that the cancel and Okay button functionality is switched up for that option. Hitting cancel actually made it stop tracking the file(s).

It worked for me also. Version 1.9.6.1

like image 144
shda Avatar answered Oct 15 '22 22:10

shda


Here is simple solution ,Add the file name or folder with to your .gitignore,then git will ignore it on source change.

filename_with_path or folder

and you can use git rm -r filename/folder* to ignore it for ever

like image 40
Mohamed Nizar Avatar answered Oct 15 '22 22:10

Mohamed Nizar