我正在尝试使用git diff使用以下命令将评论发布到RB:
$ git diff --full-index cce8e84aa2d268d04271737c09dd550d2ca8318b..ebd06031e088e
4f9e0fbc938258d152e3d7deced > test_patch.txt
但是我收到以下错误:
The file 'PolicyCenter/modules/configuration/config/web/pcf/line/cp/policy/CPBuildingsAndLocationsLV.pcf' (r92eef9030169b4629c4a457ee0f555a3f69a1bf1) could not be found in the repository
我已经读过RB无法处理提交SHA但无法找到创建diff的替代方法。
有什么想法吗?