Answered by : jeankpf
git rm --cached filename
Source : | Last Update : Thu, 03 Dec 20
Answered by : animesh-chakraborty
git update-index --assume-unchanged path/to/file
Source : | Last Update : Fri, 06 May 22
Answered by : huldar
git rm -r --cached
Source : https://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&cd=&cad=rja&uact=8&ved=2ahUKEwimqqnm37TvAhWRasAKHWzqBoQQFjABegQIAxAD&url=https%3A%2F%2Fwww.codeblocq.com%2F2016%2F01%2FUntrack-files-already-added-to-git-repository-based-on-gitignore%2F&usg=AOvVaw0cBhfVVk-3nBIQI75qBxKA | Last Update : Tue, 23 Mar 21
Answered by : ugliest-unicorn-5e2s3olc8o2w
git reset filename
Source : | Last Update : Wed, 14 Jul 21
Answered by : tanmay-bhayani
git rm -r --cached <file>
Source : https://www.edureka.co/community/68383/how-to-untrack-a-file-in-git | Last Update : Thu, 29 Apr 21
Answered by : leonard
git rm --cached <filename> <filename2> <filename3>
Source : https://sufiyanyasa.com/blog/git-untrack-file/ | Last Update : Fri, 13 May 22