Shouldn’t all the files in the committed, staging and working area be rewound to that commit? It’s not working for me.
My intention was to commit, play around with my Rails project, then go back to that commit, but it didn’t work…
MY GIT LOG:
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$
no, you want to checkout that hash