how to apply a git patch as if the author committed to my repo?

谁说我不能喝 提交于 2019-12-04 01:58:28

B could create and send a bundle rather than a patch. This allows sending commits when none of the transports available for push or fetch will work.

git am is what you're looking for. Ask him to commit locally and do git format-patch. This will create a patch. You can then use git am to add it to your repo.

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!