【记录】GIT常用命令 1 创建补丁: git format-patch -o /patchdir -s HEAD~3..HEAD 2. 应用本地补丁: cat *.patch | git am 慢慢添加..