Stops tracking the file while leaving it in the working tree, so it becomes untracked. It is the right move for secrets or build artifacts you want to keep locally but stop committing. Add the file to .gitignore right after, or it will show as untracked forever.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.