Tuesday, 27 January 2009

Working Knowledge - CVS

These are a few useful commands that I keep forgetting.

To check out a module:
cvs -d ~/Documents/repository_cvs/ co polyworld
  • ~/Documents/repository_cvs/ is the path to the repository.
  • polyworld is the name of the module.
To checkout a module over a network:
cvs -d:ext:username@polyworld.cvs.sf.net:/cvsroot/polyworld checkout polyworld
  • Note the user name and address between the colons.
To commit:
cvs commit -m "message"
  • You should put your reason for your commit in the message.

No comments:

Post a Comment