git format-patch < everything>

前端 未结 2 2036
时光说笑
时光说笑 2021-01-22 16:24

I\'m trying to mash all my changes since I last pushed to the svn server into one big patch that I can email to my coworker for review. Can I do this with git format-patch

2条回答
  •  臣服心动
    2021-01-22 16:46

    For dealing with one file, git diff is more appropriate (for patches of text files)

    git diff R1..R2 > patchR1R2.diff
    

提交回复
热议问题