cvs check-in in linux

by Nirmala 2009-01-09 15:32:28

Hi...
Download and install CVS.
Getting started CVS

(*)$export CVSROOT=: pserver:username@ipaddress of cvs machine:/store =>press Enter
(*)$cvs login =>press Enter
Logging in to : pserver:username@ipaddress of cvs machine:2401/store
CVS password: =>give password => press Enter
(*)$cvs co modulename // Checkout which module you want.

Check-in

For example i want to check-in index.php file in hiox directory.
(*) Move to that directory using cd command.
(*)$cvs diff index.php index.php //If any difference is there that will display in screen.
(*)$cvs commit index.php //File will be opened.
(*):wq! //come out and displays
Log message unchanged or not specified
a)bort, c)ontinue, e)dit, !)reuse this message unchanged for remaining dirs
Action: (continue)=> type !(exclamatory) and press Enter // Now index.php file commited with new version.

Add new file directory to CVS

(*)cvs add filename/directoryname =>press Enter
(*)cvs commit filename/directoryname =>press Enter
(*)The file will be open => use :wq! to come out.
(*)Type !(exclamatory) and press Enter //Now new file will be added to CVS.






Tagged in:

1777
like
1
dislike
0
mail
flag

You must LOGIN to add comments