.gitignore doesn't affect tracked files
@hk3narwhal▲ 5 net votes
Adding a path to .gitignore won't untrack it. Run git rm --cached <path> to stop tracking while keeping the file.
5 COMMENTS
Concise
Clever
Gamechanger
Useful
Great
Adding a path to .gitignore won't untrack it. Run git rm --cached <path> to stop tracking while keeping the file.
Concise
Clever
Gamechanger
Useful
Great