Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/git/21.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

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/reactjs/23.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
在X日期之前,从一个提交者那里看到什么代码幸存了下来,git又该如何责怪呢?_Git_Blame - Fatal编程技术网

在X日期之前,从一个提交者那里看到什么代码幸存了下来,git又该如何责怪呢?

在X日期之前,从一个提交者那里看到什么代码幸存了下来,git又该如何责怪呢?,git,blame,Git,Blame,一年前,我加入了一个非常有经验的开发团队,作为一名完全的RoR新手,现在我们正试图猜测我在前六个月编写的代码中有多少幸存下来 我想我可以用git来责怪整个回购协议,然后用grep搜索我的用户名,但我遇到了麻烦。有很多git统计工具,也许可以看看它们是否能完成你需要的工作?点击并点击 编辑: 我去发现其中一个工具,发现它非常适合你,以下是它的文本输出格式: $ ./gitinspector.py -wTHl /path/to/some/git/repository The following hi

一年前,我加入了一个非常有经验的开发团队,作为一名完全的RoR新手,现在我们正试图猜测我在前六个月编写的代码中有多少幸存下来


我想我可以用git来责怪整个回购协议,然后用grep搜索我的用户名,但我遇到了麻烦。

有很多git统计工具,也许可以看看它们是否能完成你需要的工作?点击并点击

编辑:

我去发现其中一个工具,发现它非常适合你,以下是它的文本输出格式:

$ ./gitinspector.py -wTHl /path/to/some/git/repository
The following historical commit information, by author, was found in the repository:

Author               Commits   Insertions   Deletions   % of changes
John Smith               288         7721        4617          39.19
James Johnson            135         8910        2422          35.99
Robert Brown              71         2564        1352          12.44
Michael Davids           134         2943         954          12.38

Below are the number of rows from each author that have survived and are still intact in the current revision:

Author                     Rows   % in comments
John Smith                 3533           22.02
James Johnson              6113           52.15
Robert Brown               1123           21.19
Michael Davids             1464           20.15

The following history timeline has been gathered from the repository:

Author                  2012W37    2012W38    2012W39    2012W40    2012W41    2012W42    2012W43
John Smith             --++++++      --+++   --++++++       -+++   ---+++++  ----+++++          .
James Johnson                 +   -+++++++       ++++  -++++++++       --++     --++++   -+++++++
Robert Brown                         --+++          +          .       -+++          +          .
Michael Davids                         +++         ++          +          +          +          .
Modified Rows:             1522       3832       7553       6143       5833       5123       1477            

The extensions below were found in the repository history (extensions used during statistical analysis are marked):
xml [java] pdf txt css

有很多git统计工具,也许可以看看它们是否能完成您需要的工作?点击并点击

编辑:

我去发现其中一个工具,发现它非常适合你,以下是它的文本输出格式:

$ ./gitinspector.py -wTHl /path/to/some/git/repository
The following historical commit information, by author, was found in the repository:

Author               Commits   Insertions   Deletions   % of changes
John Smith               288         7721        4617          39.19
James Johnson            135         8910        2422          35.99
Robert Brown              71         2564        1352          12.44
Michael Davids           134         2943         954          12.38

Below are the number of rows from each author that have survived and are still intact in the current revision:

Author                     Rows   % in comments
John Smith                 3533           22.02
James Johnson              6113           52.15
Robert Brown               1123           21.19
Michael Davids             1464           20.15

The following history timeline has been gathered from the repository:

Author                  2012W37    2012W38    2012W39    2012W40    2012W41    2012W42    2012W43
John Smith             --++++++      --+++   --++++++       -+++   ---+++++  ----+++++          .
James Johnson                 +   -+++++++       ++++  -++++++++       --++     --++++   -+++++++
Robert Brown                         --+++          +          .       -+++          +          .
Michael Davids                         +++         ++          +          +          +          .
Modified Rows:             1522       3832       7553       6143       5833       5123       1477            

The extensions below were found in the repository history (extensions used during statistical analysis are marked):
xml [java] pdf txt css

gitinspector的统计数据很吸引人,但它无法处理将“今天幸存”的统计数据限制在一个时间段内的问题。这个链接[你发布的是有用的。我会继续从这个角度工作。gitinspector的统计数据很吸引人,但它无法处理将“今天幸存”的统计数据限制在一个时间段内的问题。这个链接[你发布的是有用的。我会继续从这个角度工作。