Git rm-- what happened to cached [file]

my understanding is to add a folder tmp
and then git rm-- cached tmp-r
will no longer track this folder
but. My gitkraken will still show the changes to this folder (there are several new files in stage status, but after execution, the new files become unstage status and the deleted status of these files is in stage. )
whywhywhy

Jul.06,2022

git rm-- cached will no longer track files. For files that are normally tracked, git add will then submit them to stage, so the file status is stage, and files that are not tracked correspond to unstage. Subsequent commit and push will not submit these files, and the deletion status is also easy to understand, that is, stage + deletion = unstage from the result.

Menu