Monday, October 18, 2010

Submitting project into cvs in linux

Today we will see one of  important topic regarding CVS(Concurrent Versions System).  
How to Submit project into cvs in linux.
open the terminal
enter into the root
navigate to the project folder say /home/subin/Desktop/Projectname(Come inside project folder)
type below command
cvs import -m "new Projectname" -I ! -W "*.doc -kb" -W "*.gif -kb" -W "*.JPEG -kb" -W "*.jar -kb" -W "*.BMP -kb" -W "*.jpg -kb" -W "*.PNG -kb" Projectname nic v20

cvs commit;
Now project has been submitted to CVS successfully
To check out project from cvs type below command

cvs checkout Projectname

chmod -R 777 Projectname  --- this command will give permissions to access all sub folders and files (read, write, modify)

No comments:

Post a Comment