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]
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]