git create patch with diff

后端 未结 4 1921
慢半拍i
慢半拍i 2021-02-01 13:32

I tried doing

git diff 13.1_dev sale_edit > patch.diff

Then I tried doing git apply patch.diff in another branch, but I got pa

4条回答
  •  隐瞒了意图╮
    2021-02-01 14:18

    Here you have to try it with the branch you have diff with.

    git diff 13.1_dev sale_edit > patch.diff yourBranch()
    

提交回复
热议问题