1

不应该将已提交、暂存和工作区域中的所有文件都倒回到该提交吗?它不适合我。

我的意图是提交,玩弄我的 Rails 项目,然后回到那个提交,但它没有工作......

我的 git 日志:

Brians-MacBook-Air:social brianspinos777$ git log
commit f3671f19229482af889f561a44f9cf8708c6285b
Author: brian spinos <brianspinos777@hotmail.com>
Date:   Thu Dec 6 18:07:11 2012 -0500

    before dummie scaffold brian

commit 48c9df97919c7a67507197fea7d615c22d748f8d
Author: brian spinos <brianspinos777@hotmail.com>
Date:   Thu Dec 6 17:27:18 2012 -0500

    added a home page

commit bccb86c500b3519aeded25e42cf0359a17fa30e2
Author: brian spinos <brianspinos777@hotmail.com>
Date:   Thu Dec 6 17:08:37 2012 -0500

    commented the attr stuff in the model

commit e6c446fbf0e921691ea117b2054456aed2c9ea29
Author: brian spinos <brianspinos777@hotmail.com>
Date:   Thu Dec 6 15:57:13 2012 -0500

    migration success

commit de530a52e5191e288d185033d9df989112e4a2c4
Author: brian spinos <brianspinos777@hotmail.com>
Date:   Thu Dec 6 15:43:08 2012 -0500

    before rake db migrate
Brians-MacBook-Air:social brianspinos777$ 
4

1 回答 1

1

不,你想检查那个哈希

git checkout 2ef82
于 2012-12-06T23:37:04.803 回答