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コマンドはありますか?つまり、で使用される他のファイルgit diff。
git diff
あなたが欲しい:
git show :<filename>
gitrevisionsのマニュアルページの「リビジョン<rev>:<path>の指定」のエントリを参照してください。
<rev>:<path>