There’s actually no such command. But if you’ve got files in your repo that you’re tired of seeing in “untracked” because you’re not going to commit them:
echo "MY_FILE' >> .gitignore
git rm --cached MY_FILE
You’ll also have to add the .gitignore file to it’s own list so that it doesn’t show up as well.