How do I commit a file that I manually deleted in my project?
git status command I get the following result:
Now I want to commit
file2.txt, how can I do this?
git rm <fileName> command.
In this case, it would be:
git rm directory2/file2.txt
Then you can commit:
git commit -m "commit message..."