Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

linux ÏÂsvnÃüÁî


1¡¢½«Îļþcheckoutµ½±¾µØĿ¼
svn checkout path£¨pathÊÇ·þÎñÆ÷ÉϵÄĿ¼£©
   ÀýÈ磺svn checkout svn://192.168.1.1/pro/domain
    ¼òд£ºsvn co
2¡¢Íù°æ±¾¿âÖÐÌí¼ÓеÄÎļþ
  svn add file
   ÀýÈ磺svn add test.php(Ìí¼Ótest.php)
   svn add *.php(Ìí¼Óµ±Ç°Ä¿Â¼ÏÂËùÓеÄphpÎļþ)
3¡¢½«¸Ä¶¯µÄÎļþÌá½»µ½°æ±¾¿â
  svn commit -m "LogMessage" [-N] [--no-unlock] PATH(Èç¹ûÑ¡ÔñÁ˱£³ÖËø£¬¾ÍʹÓÃ--no-unlock¿ª¹Ø)
   ÀýÈ磺svn commit -m "add test file for my test" test.php
    ¼òд£ºsvn ci
4¡¢¼ÓËø/½âËø
  svn lock -m "LockMessage" [--force] PATH
   ÀýÈ磺svn lock -m "lock test file" test.php
svn unlock PATH
5¡¢¸üе½Ä³¸ö°æ±¾
  svn update -r m path
   ÀýÈ磺
      svn updateÈç¹ûºóÃæûÓÐĿ¼£¬Ä¬ÈϽ«µ±Ç°Ä¿Â¼ÒÔ¼°×ÓĿ¼ÏµÄËùÓÐÎļþ¶¼¸üе½×îа汾¡£
     svn update -r 200 test.php(½«°æ±¾¿âÖеÄÎļþtest.php»¹Ô­µ½°æ±¾200)
     svn update test.php(¸üУ¬ÓÚ°æ±¾¿âͬ²½¡£Èç¹ûÔÚÌá½»µÄʱºòÌáʾ¹ýÆڵĻ°£¬ÊÇÒòΪ³åÍ»£¬ÐèÒªÏÈupdate£¬ÐÞ¸ÄÎļþ£¬È»ºóÇå³ýsvn resolved£¬×îºóÔÙÌá½»commit)
   ¼òд£ºsvn up
6¡¢²é¿´Îļþ»òÕßĿ¼״̬
  1£©svn status path£¨Ä¿Â¼ÏµÄÎļþºÍ×ÓĿ¼µÄ״̬£¬Õý³£×´Ì¬²»ÏÔʾ£©
   ¡¾?£º²»ÔÚsvnµÄ¿ØÖÆÖУ»M£ºÄÚÈݱ»Ð޸ģ»C£º·¢Éú³åÍ»£»A£ºÔ¤¶¨¼ÓÈëµ½°æ±¾¿â£»K£º±»Ëø¶¨¡¿
  2£©svn status -v path(ÏÔʾÎļþºÍ×ÓĿ¼״̬)
   µÚÒ»Áб£³ÖÏàͬ£¬µÚ¶þÁÐÏÔʾ¹¤×÷°æ±¾ºÅ£¬µÚÈýºÍµÚËÄÁÐÏÔʾ×îºóÒ»´ÎÐ޸ĵİ汾ºÅºÍÐÞ¸ÄÈË¡£
   ×¢£ºsvn status¡¢svn diffºÍ svn revertÕâÈýÌõÃüÁîÔÚûÓÐÍøÂçµÄÇé¿öÏÂÒ²¿ÉÒÔÖ´Ðеģ¬Ô­ÒòÊÇsvnÔÚ±¾µØµÄ.svnÖб£ÁôÁ˱¾µØ°æ±¾µÄԭʼ¿½±´¡£
¼òд£ºsvn st
7¡¢É¾³ýÎļþ
  svn delete path -m "delete test fle"
   ÀýÈ磺svn delete svn://192.168.1.1/pro/domain/test.php -m "delete test file"
    »òÕßÖ±½Ósvn delete test.php È»ºóÔÙsvn ci -m 'delete test file‘£¬ÍƼöʹÓÃÕâÖÖ
¼òд£ºsvn (del, remove, rm)
8¡¢²é¿´ÈÕÖ


Ïà¹ØÎĵµ£º

LinuxÏÂc³ÌÐò¿ª·¢±Ê¼Ç

 µÚÒ»ÕÂ
1.
½âÊÍÐÔÓïÑÔ£ºshell  javascript python  ±à³ÌÈËÔ±²»ÐèÒª¾­¹ý±àÒë Á¬½ÓµÄ¹ý³Ì£¬¿ÉÒÔÔÚÌض¨»·¾³ÏÂÖ±½ÓÖ´ÐеÄÓïÑÔ  ×Ô¶¯±àÒëÁ¬½Ó¡£¿ª·¢Ð§Âʸߣ¬µ«ÔËÐÐЧÂʵ͡£
±àÒëÐÍÓïÑÔ£ºjava c c++£¬ÐèÒª¾­¹ý±à³ÌÈËÔ±¾­¹ý±àÒëºÍÁ¬½Ó²úÉú¿ÉÖ´ÐгÌÐòµÄÓïÑÔ¡£ÔËÐÐЧÂʸߡ£
2.
Êý¾Ý
Êý¾Ý½á¹¹£ºÊý¾ÝÖ®¼äµÄ ......

linux¿âÎļþ±àдÈëÃÅ¡¾Õª×Ô chinaunix¡¿

תÌù×Ô: http://hi.baidu.com/harrybobo/blog/item/ae3347b51711afc637d3ca69.html
Ò»¡¢ÎªÊ²Ã´ÒªÊ¹ÓÿâÎļþ
ÎÒÃÇÔÚʵ¼Ê±à³Ì¹¤×÷Öп϶¨»áÓöµ½ÕâÖÖÇé¿ö£ºÓм¸¸öÏîÄ¿ÀïÓÐһЩº¯ÊýÄ£¿éµÄ¹¦ÄÜÏàͬ£¬
ʵÏÖ´úÂëÒ²Ïàͬ£¬Ò²ÊÇÎÒÃÇËù˵µÄÖظ´´úÂë¡£±ÈÈ磬ºÜ¶àÏîÄ¿ÀﶼÓÐÒ»¸öÓû§ÑéÖ¤µÄ¹¦ÄÜ¡£
´úÂë¶ÎÈçÏ£º
//UserLogin.hÎļþ£¬Ìá ......

linuxÏÂgdbµ¥²½µ÷ÊÔ

 
Óà GDB µ÷ÊÔ³ÌÐò
GDB ¸ÅÊö
————
GDB ÊÇ GNU ¿ªÔ´×éÖ¯·¢²¼µÄÒ»¸öÇ¿´óµÄ UNIX ϵijÌÐòµ÷ÊÔ¹¤¾ß¡£»òÐí£¬¸÷λ±È½Ïϲ»¶ÄÇÖÖͼÐνçÃ淽ʽµÄ£¬Ïñ VC ¡¢ BCB µÈ IDE µÄµ÷ÊÔ£¬µ«Èç¹ûÄãÊÇÔÚ UNIX ƽ̨ÏÂ×öÈí¼þ£¬Äã»á·¢ÏÖ GDB Õâ¸öµ÷ÊÔ¹¤¾ßÓÐ±È VC ¡¢ BCB µÄͼÐλ¯µ÷ÊÔÆ÷¸üÇ¿´óµÄ¹¦ÄÜ¡£Ëùν ¡° ......

LinuxÏÂthread±à³Ì (Ò»)

×÷ÕߣºSam £¨Õç·å£©  sam_code@hotmail.com
SamǰЩÌìÔÚÌṩһ¸ö¿â¸ø±ðµÄ¹«Ë¾Ê±£¬ÒòΪ²»Ï²»¶Ê¹ÓÃpthread_jionµÈº¯Êý£¬±»ÈËÂîΪÀ¬»ø³ÌÐò¡£ºÇºÇ£¬Ö®Ç°ÒòΪÔÚд¶àthread³ÌÐòʱ£¬Ï°¹ßÈÃÿ¸öthread¶¼ÎªdetachÊôÐÔ£¬ÕâÑùËûÃǾͿÉÒÔ×ÔÎÒ¹ÜÀí¡£¶ø²»ÐèÒªÔÙÓɱðÈË»ØÊÕ×ÊÔ´¡£ºÇºÇ£¬²»ËµÕâô¶àÁË£¬°ÑPOSIX thread·½ÃæµÄ¶«Î÷¼ÇÏÂÀ´ ......

linux ´ò°ü

linux ´ò°üÃüÁîtar£º
tar cvf my.tar file1  // µ¥¸öÎļþ
tar cvf my.tar file1 file2 .. // ¶à¸öÎļþ
tar cvf my.tar dir1  // µ¥¸öĿ¼
tar cvf my.tar dir1 dir2 .. // ¶à¸öĿ¼
ÒÔÉϽö´ò°ü²¢ÎÞѹËõ¡£
²ÎÊý£º
-c £º½¨Á¢Ò»¸öѹËõÎļþµÄ²ÎÊýÖ¸Áî(create µÄÒâ˼)£»
-x £º½â¿ªÒ»¸öѹËõÎļþµÄ²ÎÊýÖ¸Á
- ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ