Use this command to stop tracking some files from git repository. Please add the file / folder to .gitignore to prevent the file getting staged and tracked again.
$git rm --cached [filename]

Leave a reply

required

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>