2017-03-01 5 views

答えて

0

は、ファイルがコミットで変更されていないことを意味含まれていない場合は、セットAは、セットBはgit log --%h、およびB - A = {sha1 values of commits that don't include the file}で、git log --pretty=%h --follow <file>です。

git log --pretty=%h --follow *file* > a.txt 
git log --pretty=%h *file* > b.txt 
sort b.txt a.txt a.txt | uniq -u 
+0

さて、 'sort'ではなく' comm'を使用しますが、そうです。 :-) – torek

関連する問題