摘要:
git 回滚功能原文地址:http://www.oschina.net/news/26241/you-can-not-change-git-history$ git init$ touch foo.txt$ git add foo.txt$ git commit -m "initial commit"$ echo 'new data' >> foo.txt$ git commit -a -m "more stuff added to foo"你现在看git的历史记录,你可以看到两次提交:$ git log* 98abc5a ( 阅读全文