Applying a diff file with git

后端 未结 6 1589
一个人的身影
一个人的身影 2021-02-18 20:50

So I was trying to use apply a diff file to my git dev branch. The diff I wanted to apply was this one here: https://github.com/mbabker/joomla-cms/compare/JHtml_move.patch

6条回答
  •  野趣味
    野趣味 (楼主)
    2021-02-18 21:15

    I had the same issue. I opened up Git Bash (Cygwin works as well) and did:

    dos2unix.exe 
    

    Then I was able to apply the patch perfectly fine.

提交回复
热议问题