Wha*_*hen 6 git
我可以知道终端中强制从GIT中删除缓存的命令是什么?
据我所知删除GIT是git rm --cached thefilename
但现在我收到了一个错误
错误:'tutorial.h'已经暂存了与文件和HEAD不同的内容(使用-f强制删除)
那么,我可以知道如何删除它吗?
qqx*_*qqx 19
git rm --cached -f thefilename
归档时间:
13 年,8 月 前
查看次数:
4150 次
最近记录: