untrack a file in git code example
Example 1: git untrack file
git rm --cached filename
Example 2: how to untrack a file in git
git rm -r --cached <file>
Example 3: git untrack file
git rm -r --cached
git rm --cached filename
git rm -r --cached <file>
git rm -r --cached