上QQ阅读APP看书,第一时间看更新
How it works…
This is just a simple application of all the previous recipes we've seen; we get a new version of the addon and update it in our instances.
If git pull --ff-only fails, you can revert to the previous version using this command:
$ git reset --hard 11.0-before-update-$(date --iso)
Then, you can try git pull (without --ff-only), which will cause a merge, but this means you have local changes on the addon.