【发布时间】:2014-03-12 15:16:51
【问题描述】:
我目前正在尝试了解 git,并且到目前为止已对项目进行了 2 项更改:
oshiro@debian:/var/www$ git log
commit 4fd249jf039jf49rj905482h794g805h4g53943h
Author: oshiro <oshiro@mail.com>
Date: Wed Mar 12 15:07:00 2014 +0000
removed junk from initial version
commit 39fru438439fj3498521490u53945u854u3084ut
Author: oshiro <oshiro@mail.com>
Date: Wed Mar 12 14:53:40 2014 +0000
initial messy project version
oshiro@debian:/var/www$
我可以在最初的混乱项目版本和从初始版本中删除的垃圾之间切换吗?
【问题讨论】:
-
git checkout 39fru438439fj3498521490u53945u854u3084ut或任何提交。
标签: git