1
を持つ2つのタグの間の差分:Gitの私は、次の操作を行うことができ、ユーザ名
git diff tag1 tag2 --stat
をしかし、これは私のファイルのリストを与える..私は、これら2つのタグの間に働いているすべてのユーザーを知ることができますどのように!
を持つ2つのタグの間の差分:Gitの私は、次の操作を行うことができ、ユーザ名
git diff tag1 tag2 --stat
をしかし、これは私のファイルのリストを与える..私は、これら2つのタグの間に働いているすべてのユーザーを知ることができますどのように!
最初のアプローチは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]>
...
感謝を。私は結果を得ていませんでした。私は2つのタグ間でgit diffを実行していました。これらの2つのタグの間でコードを修正したユーザのみが必要です。git logはどのように問題を解決し、git diffを使用しませんか? – Deepak
@Deepakは、2つのタグの間にコミットするすべての著者をリストアップするという問題を解決しますこれらの2つのタグの間でコードを変更したユーザー – VonC
あなたの例では、v2.9.0です。 .v2.9.3と2つのタグ?? – Deepak