Git_update_index-Gitbasic专题

git update-index

将工作区的文件加入缓存区域。

$ git update-index --add --cacheinfo \
100644 5c1b14949828006ed75a3e8858957f86a2f7e2eb hola.txt

直接将缓存信息插入缓存文件。


本站为非盈利网站,作品由网友提供上传,如无意中有侵犯您的版权,请联系删除