info-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to "undo" a commit?


From: Christian Hujer
Subject: How to "undo" a commit?
Date: Sat, 21 May 2005 23:55:22 +0200
User-agent: KMail/1.7.1

Hello.

I have just committed some bunch accidently. (Thanks god this is the first 
time this happened after some years of cvs usage)

I have no idea about tagging or branching. I know the latest revision is 
always called HEAD.

What is the best way to make the HEAD revision of the files being the previous 
revision? I've read the faq, they say if the last version is 1.31, "checkout 
1.30 and recheckin as 1.32". But I cannot imagine how to do this.
When I try "cvs update -r 1.30 file" and then "cvs commit file" it of course 
does not work.
Or is there a possibility to mark the 1.30 version as HEAD?

Christian




reply via email to

[Prev in Thread] Current Thread [Next in Thread]