2016-09-02 5 views

答えて

4

最初のアプローチはgit logを使用することができます。

Gitのレポ自体では:

git log v2.9.0..v2.9.3 --name-only --format="%aN <%aE>" --reverse 
git log <olderTag>..<newerTag> --name-only --format="%aN <%aE>" --reverse 
        ^^ 
        |_ don't forget the two dots. 

を(gitのドット構文では、 "What are the differences between double-dot “..” and triple-dot “…” in Git commit ranges?" を参照)

います:

Eric Wong <[email protected]> 

daemon.c 
Edward Thomson <[email protected]> 

pretty.c 
t/t6006-rev-list-format.sh 
David Kastrup <[email protected]> 

builtin/blame.c 
René Scharfe <[email protected]> 

t/t4051-diff-function-context.sh 
t/t4051/appended1.c 
t/t4051/appended2.c 
t/t4051/dummy.c 
t/t4051/hello.c 
t/t4051/includes.c 

....

とユニークな貢献者のリストだけを取得する:

git log v2.9.0..v2.9.3 --format="%aN <%aE>" --reverse|sort|uniq 

返します。それVonCに探しのための

Alex Henrie <[email protected]> 
Alfred Perlstein <[email protected]> 
Andreas Brauchli <[email protected]> 
Andrew Oakley <[email protected]> 
Armin Kunaschik <[email protected]> 
Charles Bailey <[email protected]> 
Charles Bailey <[email protected]> 
Chris Packham <[email protected]> 
Dave Nicolson <[email protected]> 
... 
+0

感謝を。私は結果を得ていませんでした。私は2つのタグ間でgit diffを実行していました。これらの2つのタグの間でコードを修正したユーザのみが必要です。git logはどのように問題を解決し、git diffを使用しませんか? – Deepak

+0

@Deepakは、2つのタグの間にコミットするすべての著者をリストアップするという問題を解決しますこれらの2つのタグの間でコードを変更したユーザー – VonC

+0

あなたの例では、v2.9.0です。 .v2.9.3と2つのタグ?? – Deepak

関連する問題