How to list all the files in a commit?

后端 未结 30 2875
一个人的身影
一个人的身影 2020-11-22 01:50

I am looking for a simple git command that provides a nicely formatted list of all files that were part of the commit given by a hash (SHA1), with no extraneous

30条回答
  •  眼角桃花
    2020-11-22 02:19

    This should work:

    git status
    

    This will show what is not staged and what is staged.

提交回复
热议问题