开发者

How do you revert (roll back) to an earlier version of a committed file in CVS

Let's take for example a single file committed in CVS with the following history.

test.cpp

rev 1.1

rev 1.2

rev 1.3

How do I revert to rev 1.2 discardin开发者_StackOverflow中文版g the changes in 1.3 and then continue to make modification from that point on?


cvs update -j 1.3 -j 1.2 test.cpp

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜