EN
Git - how to commit manually deleted file?
1 answers
3 points
How do I commit a file that I manually deleted in my project?
After the git status
command I get the following result:
Now I want to commit file2.txt
, how can I do this?
1 answer
0 points
Use git rm <fileName>
command.
In this case, it would be:
xxxxxxxxxx
1
git rm directory2/file2.txt
Then you can commit:
xxxxxxxxxx
1
git commit -m "commit message..."
0 commentsShow commentsAdd comment