1
f1---f2 - short term branch "feature1"
/ \
h--h--h---h--h1--h2- - long term branch "hofix"
/ \ \ \
/ \ \ \
m----m------m---m------m-- - long term branch "master"
| |
1e1e1e 2f2f2f
我合併2個提交差異的分支(15個文件改變totaly)。 奔着:Git diff工作不正確 - 對很多更改
$ git show --pretty="format:" --name-only 1e1e1e..2f2f2f
我收到超過42 000文件從我的項目改變。爲什麼?
預計:我將展示與F1,F2,H1,H2承諾
附:DIFF可能是因爲「合併分支」起源/ 0411-hotfix'「提交?
'git merge-base 1e1e1e 2f2f2f'返回什麼?哪個「h」? – VonC
這很少發生,從1起5起。 我無法抓住它。 – maxgu