本地分支merge主分支後,本地分支的東西有丟失,須要回退到merge前的版本:git
$ git log //查看日誌spa
複製要回退的那一條的commit日誌
git reset --hard [c1c900fca4b2fe928c31507ae1b82f531594f6c6]it