开发者

Is there a way to see an older version of a file on the local network, via http://localhost:3000/?

I'm relatively new to开发者_如何学JAVA RoR, and am trying to view an older git version through my browser. I've used git show and the advice from http://bit.ly/fjIjva to view details about the older version, however, I want to be able to go to http://localhost:3000/ and actually view what the older version looked like. Currently when I connect to the rails server, I can only view the current git version.

Thanks in advance for your help!


You could check out that file, but what you probably want to do is check out a previous revision. The command for this is git checkout. The manpage will tell you more about how to specify a revision and so on.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜