rm和git rm操作

参考文章


rm test.c
git checkout test.c 恢复test.c

git rm test.c
git restore --staged test.c
git restore test.c 或 git checkout test.c 恢复test.c


posted @ 2023-03-13 09:03  我爱茜茜公主  阅读(20)  评论(0)    收藏  举报