說我已經作出了一系列承諾一定的項目,所以當我git log --oneline
它產生以下如何列出爲特定提交而修改的文件?
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 diff d7467df
但它也顯示了每個文件的修改內容,這使得整個事情變得很長。我只想查看已更改的列表文件,並且沒有關聯任何內容。我如何實現這一目標?
'git的差異d7467df^d7467df --name-only' – ElpieKay