Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/git/24.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
获取在git项目的特定文件夹中工作过的用户列表_Git - Fatal编程技术网

获取在git项目的特定文件夹中工作过的用户列表

获取在git项目的特定文件夹中工作过的用户列表,git,Git,我正在做一个有很多模块的项目。我认为这里的语言和/或技术并不重要。最重要的是,我们需要知道谁在src/foo/bar文件夹中工作过,谁在src/hello/world文件夹中工作过 我想要一份用户名单。git可以吗?要列出参与过该项目的用户,可以使用shortlog: git shortlog -s 如果您希望获得此信息,但仅限于项目内的特定目录,请执行以下操作: git shortlog -s path/to/the/directory 希望有帮助

我正在做一个有很多模块的项目。我认为这里的语言和/或技术并不重要。最重要的是,我们需要知道谁在
src/foo/bar
文件夹中工作过,谁在
src/hello/world
文件夹中工作过


我想要一份用户名单。git可以吗?

要列出参与过该项目的用户,可以使用
shortlog

git shortlog -s
如果您希望获得此信息,但仅限于项目内的特定目录,请执行以下操作:

git shortlog -s path/to/the/directory
希望有帮助