且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

我如何从git索引获取文件的内容?

更新时间:2023-02-23 21:49:45

Use the : prefix to access objects in the current index (staged but not yet commited).

git show :file

See the gitrevisions manual for more information.