我正在尝试使用 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,但找不到创建差异的替代方法。
有任何想法吗?