linuxЧÀÍÔõôÓÃsvnÏÂÁî
ʹÓà svn ÏÂÁîÖÎÀí linux ЧÀÍ£ºÍ¨¹ý×°Öà svn¡¢¿Ë¡¿ÍÕ»¡¢¸üÐÂЧÀ͵Ȱ취£¬¿ÉÒÔÓÐÓÃÖÎÀíЧÀÍÔ´´úÂëºÍÉèÖᣱðµÄ£¬»¹¿ÉÒÔ½¨Éè·ÖÖ§¡¢ºÏ²¢¸ü¸Ä¡¢É¾³ýЧÀÍ£¬ÒÔ¼°Ê¹ÓÃÆäËûÓÐÓÃÏÂÁî¾ÙÐнÏÁ¿¡¢Éó²éÈÕÖ¾¡¢²éÕÒÌá½»ÕߺͻñÈ¡×ÊÖú¡£
ʹÓà SVN ÏÂÁîÖÎÀí Linux ЧÀÍ
SVN£¨Subversion£©ÊÇÒ»¸öÂþÑÜʽ°æ±¾¿ØÖÆϵͳ£¬¿ÉÓÃÓÚÖÎÀí Linux ЧÀ͵ÄÔ´´úÂëºÍÉèÖá£
×°ÖÃ SVN
sudo apt-get install subversion
µÇ¼ºó¸´ÖÆ
¿Ë¡ЧÀÍ¿ÍÕ»
svn checkout /path/to/local/directory
µÇ¼ºó¸´ÖÆ
¸üÐÂЧÀÍ
cd /path/to/local/directory svn update
µÇ¼ºó¸´ÖÆ
Éó²éЧÀÍ״̬
svn status
µÇ¼ºó¸´ÖÆ
ÌύЧÀ͸ü¸Ä
svn commit -m "Ìá½»ÐÂÎÅ"
µÇ¼ºó¸´ÖÆ
»Ø¹öЧÀ͸ü¸Ä
svn revert -R /path/to/file
µÇ¼ºó¸´ÖÆ
½¨Éè·ÖÖ§
svn copy /path/to/source/directory /path/to/new/branch/directory -m "½¨ÉèзÖÖ§"
µÇ¼ºó¸´ÖÆ
ºÏ²¢·ÖÖ§
svn merge /path/to/branch/directory /path/to/target/directory -m "ºÏ²¢·ÖÖ§"
µÇ¼ºó¸´ÖÆ
ɾ³ýЧÀÍ
cd /path/to/local/directory svn delete /path/to/service/directory -m "ɾ³ýЧÀÍ"
µÇ¼ºó¸´ÖÆ
ÆäËûÓÐÓõÄÏÂÁî
svn diff: ½ÏÁ¿Á½¸ö°æ±¾Ö®¼äµÄ²î±ð
svn log: Éó²éЧÀÍÈÕÖ¾
svn info: ÏÔʾЧÀÍÐÅÏ¢
svn blame: Éó²é´úÂëÐеÄÌá½»Õß
svn help: ÏÔʾ¸ü¶àÏÂÁîºÍÑ¡Ïî
ÒÔÉϾÍÊÇlinuxЧÀÍÔõôÓÃsvnÏÂÁîµÄÏêϸÄÚÈÝ£¬¸ü¶àÇë¹Ø×¢±¾ÍøÄÚÆäËüÏà¹ØÎÄÕ£¡