2016-07-29 6 views
0

が、私はそれが次特定のコミットのために変更されたファイルを一覧表示するにはどうすればよいですか?

e61c4fb Wrote the special problem review of related literature. 
eb584ba Wrote the special problem objectives. 
8d2dd52 Added more research papers 
72a2d27 Fixed the bug during the removal of parent chromosomes in ga_wknn and saga_wknn 
d7467df Added as the k in KNN as a parameter in the constructor of each application. 
2293f43 Added a simulation result. 
bdfcf41 Done with adding Introduction Comments 

次を生成git log --onelineときに、私は、追加、変更、それらのいずれかで削除されたファイルを見てみたい、私は特定のプロジェクトのためにコミットのシリーズを作ったと言いますコミットします。私は

git diff d7467df 

を試みたが、それはまた私に全体の事は長くなり、各ファイルに対する変更内容を示しています。私は変更されたリストファイルを見たいだけで、内容は関連付けられていません。これをどのように達成するのですか?

+0

'gitのdiffをd7467df^d7467dfの--name-only' – ElpieKay

答えて

2

git show --name-only commit_hash

+0

は同じことを行います' gitのログを - 1 --name-only commit_hash' –

0

きれい無い余分な情報で、変更されたファイルのみを一覧表示するには:

git diff-tree --no-commit-id --name-only -r commit_id 
関連する問題