從 [git – How can I remove a commit on github? – Stack Overflow] 學到的一招,拿已經被我搞得亂七八糟的 ibus-chewing 來試:
- git clone git@github.com:hiroshiyui/ibus-chewing.git
- git reset –hard fb5c8cc104
- git remote add upstream git://github.com/definite/ibus-chewing.git
- git fetch upstream
- git merge upstream/master
- git push origin +master