How do I revert a modified file using CVS?

Ashot picture Ashot · Mar 29, 2013 · Viewed 37.7k times · Source

I have checked out a file from CVS repository and changed it.

cvs up command says that the file is modified M.

I need to delete my changes. What cvs command can do it for me?

Answer

Eric picture Eric · Apr 18, 2013

You use

cvs update -C filename