$ git rm --cached one.txt
rm 'one.txt'
$ git status
On branch master
Changes to be committed:
(use "git restore --staged <file>..." to unstage)
deleted: one.txt
Untracked files:
(use "git add <file>..." to include in what will be committed)
one.txt
$ git add one.txt
$ git commit -am 'one.txt removed'
On branch master
nothing to commit, working tree clean
$ git status
On branch master
nothing to commit, working tree clean
$ git add .
$ git commit -am 'commen'