git -> show list of files changed in recent commits in a specific directory

后端 未结 5 1435
梦毁少年i
梦毁少年i 2020-12-12 16:10

In Subversion svn log is the command to display commit log messages -- for details see the online manual at http://svnbook.red-bean.com/en/1.7/svn.ref.svn.c.log

5条回答
  •  野趣味
    野趣味 (楼主)
    2020-12-12 16:34

    To show all the commit of your branch(recent and old), you need to count the number of commits in the branch

    git rev-list --count branch_name
    

    Once you get all the commit count, you can run

    git log --name-status -countNumber /path
    

提交回复
热议问题