1.创建patch
git format-patch d41d37bbf1cf8ef69dc54673fe7b81b28e58a286...4877155439cd0f4ac52516b325b97b8cd631be86 -o patch
oldcommit...newcommit
2.检查patch
git apply --stat patch/0001-fixed-bug.patch
3.应用patch
git am -s < patch/0001-fixed-bug.patch