1
我覺得這個答案應該很簡單,但是我正在尋找它的路徑並沒有解決問題。下面是從一個git log命令的輸出示例(有一些選項)(文件名稱已更改爲保護無辜者):在git log的--name-status列表中,狀態標籤的後綴是什麼?
$ git log --pretty=%H --follow --name-status -- plans/some_file
997efbccfb0c54f95dd3c22498e47d2971caff0d
C070 plans/some_files_previous_name plans/some_file
9a265ea5f5b232ec778fb0193ff2f48b3ea25cdf
A plans/some_files_previous_name
eadecec4b743cc33e16a4eabf68e35cac62c0fa0
D plans/some_files_previous_name
dc408368cf6f80c841f94f58e4c5dc3283929483
M plans/some_files_previous_name
8feb7d99b92a993cd8c95506c8d419e4f59d513e
什麼是070後,在C指的是在第一項的狀態的一部分?
哈哈,好的。我看過前兩個引號,但什麼奧術咒語將你從那裏帶到了git-diff?僅僅因爲這個選項被稱爲「diff-filter」? –