Mac Book Pro 2019 local environment Edit with VS code
I'm not sure. I would appreciate it if you could let me know if you find the cause of the problem.
$ git status
Now check the current state of git.
git add File edited by myself
Add files other than 〇〇 2.rb.
At this time, be careful not to add files such as 〇〇 2.rb by mistake.
git clean -n -d
Check the files to be deleted.
git clean -f -d
Then delete the file.
Then, check if the unnecessary files have been deleted. (〇〇 2.rb, etc.)
git commit -m "remove 2 file"
So, I think it's okay for anyone who wants to commit.