将github上的提交打包成patch补丁

github下载链接:GitHub - JeffyCN/FFmpeg: FFmpeg with rkmpp hwdec - (deprecated due to license issue, check gstreamer instead or https://github.com/nyanmisaka/ffmpeg-rockchip)

需要将页面中的16个commit取出来,打包成patch 

1.下载源码
终端上输入 git clone https://github.com/JeffyCN/FFmpeg.git 
cd FFmpeg进入FFmpeg目录中

2.确认在Git仓库中
终端输入 git status
出现图中输出,就是成功进入Git仓库中

3.添加上游仓库
终端输入 git remote add upstream https://github.com/JeffyCN/FFmpeg.git

4.获取上游仓库的更新
终端输入 git fetch upstream,等待更新

5.检查分支的提交 
终端输入 git log --oneline upstream/4.4..HEAD

6.生成patch补丁
终端输入 mkdir -p ~/patches创建文件夹
git format-patch upstream/4.4..HEAD -o ~/patches