Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
git index(.git/index) 存储跟踪文件的状态(最后提交状态),它可以通过 git ls-files --stage 显示并git diff查看索引和工作目录之间的差异。暂存文件的使用如何在git add内部修改索引文件?
git diff
git add