Describe cvs°£´Ü»ç¿ë¹ý here
CVS °£´Ü »ç¿ë¹ý #
ÇÁ·ÎÁ§Æ® Ãß°¡ (Import)
ÇÁ·ÎÁ§Æ® °¡Á®¿À±â (Checkout)
ÇÁ·ÎÁ§Æ® °»½Å (Update)
º¯°æ³»¿ëÀÇ Àû¿ë (Commit)
ÆÄÀÏ Ãß°¡ (Add)
ÆÄÀÏ »èÁ¦ (Remove)
ÆÄÀÏ¸í º¯°æ (Rename)
ÅÂ±× ´Þ±â (Tag)
°¡Áö »ý¼º (Branch)
¹èÆ÷ (Export)
ÇÁ·ÎÁ§Æ® Ãß°¡ (Import) #
»õ·Î¿î ÇÁ·ÎÁ§Æ®¸¦ ½ÃÀÛÇÑ µÚ óÀ½À¸·Î CVS Repository¿¡ ÇÁ·ÎÁ§Æ®¸¦ Ãß°¡ÇÒ ¶§ »ç¿ëÇÑ´Ù. »ý¼ºÇÑ ÇÁ·ÎÁ§Æ® Æú´õ¾È¿¡¼ ´ÙÀ½ÀÇ ¸í·ÉÀ» ¼öÇàÇÑ´Ù.
localhost:~/project$ cvs import -m "log" project_name vendor_tag release_tag
ÇÁ·ÎÁ§Æ® °¡Á®¿À±â (Checkout) #
CVS Repository¿¡ ÀúÀåµÇ¾î ÀÖ´Â ÇÁ·ÎÁ§Æ® ÆÄÀϵéÀ» ÀÛ¾÷Æú´õ·Î °¡Á®¿Â´Ù.
localhost:~$ cvs checkout project_name
ssh ·Î °¡Á®¿À±â
export CVS_RSH="ssh"
export CVSROOT=":ext:°èÁ¤@hostname:cvsrootDirectory"
ÇÁ·ÎÁ§Æ® °»½Å (Update) #
CVS Repository¿¡¼ °»½ÅµÈ ³»¿ëÀ» °¡Á®¿Â´Ù.
localhost:~/project$ cvs update
º¯°æ³»¿ëÀÇ ÀúÀå (Commit) #
º¯°æµÈ ÇÁ·ÎÁ§Æ® ÆÄÀÏÀ» CVS Repository¿¡ ÀúÀåÇÑ´Ù.
localhost:~/project$ cvs commit -m "log"
¶Ç´Â ¿øÇÏ´Â ÆÄÀϸ¸ ÀúÀåÇÒ ¼ö ÀÖ´Ù.
localhost:~/project$ cvs commit -m "log" file_name ...
ÆÄÀÏ Ãß°¡ (Add) #
ÇÁ·ÎÁ§Æ®¿¡ Ãß°¡µÈ ÆÄÀÏÀ» CVS Repository¿¡ Ãß°¡ÇÒ ¶§ »ç¿ëÇÑ´Ù. ´ÙÀ½ ¸í·ÉÀ» ¼öÇàÇÑ ÈÄ ÇØ´çÆÄÀÏÀ̳ª ÇÁ·ÎÁ§Æ® Àüü¸¦ commitÇؾßÁö¸¸ ½ÇÁ¦·Î CVS Repository¿¡ Àû¿ëµÈ´Ù.
localhost:~/project$ cvs add file_nameÆú´õ¸¦ Ãß°¡ÇÒ °æ¿ì¿¡µµ ¶È°°´Ù.
ÆÄÀÏ »èÁ¦ (Remove) #
ÇÁ·ÎÁ§Æ®¿¡¼ ¸ÕÀú ÆÄÀÏÀ» »èÁ¦ÇÑ µÚ cvsÀÇ remove¸í·ÉÀ» ¼öÇàÇÑ´Ù. ´ÙÀ½ ¸í·ÉÀ» ¼öÇàÇÑ ÈÄ ÇØ´çÆÄÀÏÀ̳ª ÇÁ·ÎÁ§Æ® Àüü¸¦ commitÇؾßÁö¸¸ ½ÇÁ¦·Î CVS Repository¿¡ Àû¿ëµÈ´Ù.
localhost:~/project$ rm file_name
localhost:~/project$ cvs remove file_name
Æú´õ¸¦ »èÁ¦ÇÒ °æ¿ì¿¡´Â Æú´õ³»ÀÇ ÆÄÀϵéÀ» ¸ðµÎ À§ÀÇ °úÁ¤À¸·Î »èÁ¦ÇÑ µÚ, ´ÙÀ½ÀÇ ¸í·ÉÀ» ¼öÇàÇÏ¿© ºó Æú´õ¸¦ »èÁ¦(prune)ÇÑ´Ù.
localhost:~/project$ cvs update -P
ÆÄÀÏ¸í º¯°æ (Rename) #
±âÁ¸ ÆÄÀÏÀ» »èÁ¦ÇÏ°í »õ·Î¿î ÆÄÀÏÀ» Ãß°¡ÇÏ´Â ¹æ¹ýÀ» »ç¿ëÇÑ´Ù. ´ÙÀ½ ¸í·ÉÀ» ¼öÇàÇÑ ÈÄ ÇØ´çÆÄÀÏÀ̳ª ÇÁ·ÎÁ§Æ® Àüü¸¦ commitÇؾßÁö¸¸ ½ÇÁ¦·Î CVS Repository¿¡ Àû¿ëµÈ´Ù.
localhost:~/project$ mv old_name new_name
localhost:~/project$ cvs remove old_name
localhost:~/project$ cvs add new_name
ÀÌ·¸°Ô Çؼ À̸§ÀÌ ¹Ù²ï ÆÄÀÏÀº ±âÁ¸ÀÇ º¯°æ³»¿ª(history)µéÀÌ ¸ðµÎ »ç¶óÁö°ÔµÈ´Ù.
ÅÂ±× ´Þ±â (Tag) #
ÇÁ·ÎÁ§Æ®¿¡ ű׸¦ ´Ü´Ù.
localhost:~/project$ cvs tag tag_name
°¡Áö »ý¼º (Branch) #
°¡Áö¸¦ »ý¼ºÇÑ´Ù.
localhost:~/project$ cvs tag -b branch_name
¹èÆ÷ (Export) #
ÁöÁ¤ÇÑ Å±׳ª ³¯Â¥ »óÅÂÀÇ ÇÁ·ÎÁ§Æ® ÆÄÀϵéÀ» ¹èÆ÷Çϱâ À§ÇØ ³»ºÎ¿¡ CVSÆú´õ°¡ ¾ø´Â »óÅ·Π°¡Á®¿Â´Ù.
ű׸¦ ÁöÁ¤ÇÒ °æ¿ì
localhost:~$ cvs export -r Release-1_0 -d project-1.0 project
³¯Â¥¸¦ ÁöÁ¤ÇÒ °æ¿ì
localhost:~$ cvs export -D "2003-12-01 18:00" -d project-20031201 project
ÇöÀç ³¯Â¥¸¦ ÁöÁ¤ÇÒ °æ¿ì
localhost:~$ cvs export -D "now" -d project-current project
Áú¹® #
CVS¿¡¼ ÇÑ±Û ÁÖ¼®À̳ª ¹®ÀÚ¿À» Á¦´ë·Î ´Ù·ê ¼ö ÀÖ³ª¿ä? -- ¹®°æ±Í(ggmoon71 ¾ßÈÄÄÚ¸®¾Æ)
ÁÖ¼®À» Çѱ۷Π¾²°Å³ª ÇѱÛÀÌ Æ÷ÇÔµÈ ÆÄÀÏÀ» CVS¿¡ ³Ö´Â °Í¿¡ ´ëÇØ º° ¹®Á¦°¡ ¾ø´Â °É·Î ¾Ë°í ÀÖ½À´Ï´Ù.