×ܽáһЩҪÁì¿ìËÙÏÂÔØGitHub´úÂëµÄÒªÁì
ÔÚ¾ÙÐдúÂ뿪·¢Ê±£¬githubÊÇÒ»¸ö·Ç¾³£¼ûµÄƽ̨¡£¿ÉÊÇ£¬ÈôÊÇÄãÏëÒª¿ìËÙÏÂÔØgithubÉϵĴúÂ룬¿ÉÄÜ»á¸ÐÓ¦ÓÐЩÄÑÌâ¡£±¾ÎĽ«ÏÈÈÝһЩҪÁìÀ´×ÊÖúÄã¿ìËÙÏÂÔØgithub´úÂë¡£
ʹÓÃGit
GitÊÇÒ»ÖÖ°æ±¾¿ØÖÆϵͳ£¬Í¨³£ÓÃÓÚÖÎÀí´úÂë¡£Ëü¿ÉÒÔ´ÓÈκδ洢¿â£¨°üÀ¨GitHub£©ÖпìËÙÀÈ¡´úÂë¡£
Ê×ÏÈ£¬ÄãÐèҪװÖÃGit²¢ÔÚÄãµÄϵͳÉÏÉèÖÃGit¡£È»ºó£¬Äã¿ÉÒÔʹÓÃÒÔÏÂÏÂÁî´ÓGitHubÉÏ¿Ë¡´æ´¢¿â£º
git clone https://github.com/username/repository.git
µÇ¼ºó¸´ÖÆ
Ç뽫¡°username¡±ºÍ¡°repository¡±Ì滻ΪÄãÏëÒª¿Ë¡µÄGitHub´æ´¢¿âµÄÓû§ÃûºÍ´æ´¢¿âÃû³Æ¡£
ÈôÊÇÄãÒѾ¿Ë¡ÁË´æ´¢¿â£¬µ«ÏëÒª¸üдúÂ룬¿ÉÒÔʹÓÃÒÔÏÂÏÂÁ
git pull
µÇ¼ºó¸´ÖÆ
Õ⽫´ÓGitHubÉÏÀÈ¡ËùÓиüÐÂÄÚÈݲ¢½«ÆäºÏ²¢µ½ÄãµÄÍâµØ´æ´¢¿âÖС£
ʹÓÃGitHub DesktopÓ¦ÓóÌÐò
ÈôÊÇÄãÏëÒªÒ»¸ö¸üÖ±¹ÛµÄ½çÃæÀ´ÖÎÀíGitHub´æ´¢¿â£¬GitHub DesktopÓ¦ÓóÌÐò¿ÉÄÜÊÇÒ»¸öºÜºÃµÄÑ¡Ôñ¡£
Ê×ÏÈ£¬ÄãÐèÒªÔÚÄãµÄÅÌËã»úÉÏ×°ÖÃGitHub DesktopÓ¦ÓóÌÐò¡£ÉèÖÃÍê³Éºó£¬Äã¿ÉÒÔƾ֤ÒÔÏ°취À´´ÓGitHubÉÏ¿Ë¡´æ´¢¿â£º
·¿ªGitHub DesktopÓ¦ÓóÌÐò²¢µÇ¼¡£
µ¥»÷¡°File¡± > ¡°Clone Repository¡±¡£
Ñ¡ÕªÒª¿Ë¡µÄ´æ´¢¿â²¢µ¥»÷¡°Clone¡±¡£
Õ⽫ÔÚÄãµÄÅÌËã»úÉϽ¨ÉèÒ»¸öÍâµØ°æ±¾µÄ´æ´¢¿â¡£Äã¿ÉÒÔʹÓÃÓ¦ÓóÌÐòÀ´¿ØÖƸü¸Ä£¬Ìá½»½ÓÂ룬²¢½«¸ü¸ÄÍÆËÍ»ØGitHub¡£
ʹÓá°Download ZIP¡±
ÈôÊÇÄãÖ»ÊÇÏëÏÂÔØGitHub´æ´¢¿âµÄ´úÂ룬¶ø²»ÊÇÏëÒªÖÎÀíËü£¬ÄÇô¡°Download ZIP¡±Ñ¡Ïî¿ÉÄÜÊÇÒ»¸ö¸üºÃµÄÑ¡Ôñ¡£
ÔÚGitHub´æ´¢¿âµÄÖ÷Ò³ÉÏ£¬Äã¿ÉÒÔÕÒµ½Ò»¸öÂÌÉ«µÄ°´Å¥£¬ÉÏÃæд×Å¡°Clone or download¡±¡£µ¥»÷¸Ã°´Å¥£¬È»ºóµ¥»÷¡°Download ZIP¡±¡£Õ⽫ÏÂÔØ´æ´¢¿âÖеÄËùÓÐÎļþºÍÎļþ¼Ð£¨Ñ¹ËõºóµÄÃûÌã©¡£
ͨ¹ýSVN´ÓGitHubÏÂÔØ´æ´¢¿â
Subversion£¨SVN£©ÊÇÀàËÆGitµÄ°æ±¾¿ØÖÆϵͳ¡£ËäÈ»Ëü²»ÈçGitÊ¢ÐУ¬µ«ËüÈÔÈ»ÊÇÒ»¸öÊ¢ÐеÄÑ¡Ôñ¡£
ÈôÊÇÄãÏë´ÓGitHubÉÏÏÂÔØ´æ´¢¿â£¬¿ÉÒÔʹÓÃÒÔÏÂÏÂÁ
svn checkout https://github.com/username/repository/trunk/
µÇ¼ºó¸´ÖÆ
½«¡°username¡±ºÍ¡°repository¡±Ì滻ΪGitHub´æ´¢¿âµÄÓû§ÃûºÍ´æ´¢¿âÃû³Æ¡£
Õ⽫´ÓGitHubÉÏÏÂÔØ´æ´¢¿âµÄ¡°trunk¡±Ä¿Â¼£¨´úÂë´æ´¢Ä¿Â¼£©¡£
ʹÓá°Raw¡±ÎļþÁ´½Ó
ÈôÊÇÄãÖ»ÏëÏÂÔØGitHub´æ´¢¿âµÄij¸öÎļþ¶ø²»ÊÇÕû¸ö´æ´¢¿â£¬¿ÉÒÔʹÓøÃÎļþµÄ¡°Raw¡±Á´½Ó¡£Òª»ñÈ¡¸ÃÁ´½Ó£¬ÇëÕÒµ½ÄúÒªÏÂÔصÄÎļþ²¢µ¥»÷Ëü¡£¸ÃÎļþ½«ÏÔʾÔÚGitHubÉÏ¡£ÏÖÔÚ£¬µ¥»÷ÎļþÉÏ·½µÄ¡°Raw¡±°´Å¥¡£Õ⽫ÏÔʾÎļþµÄÔʼÃûÌá£ÄãÏÖÔÚ¿ÉÒÔʹÓá°Áí´æΪ¡±¹¦Ð§½«¸ÃÎļþÉúÑĵ½ÄãµÄÅÌËã»úÖС£
½áÂÛ
ÒÔÉÏÏÈÈÝÁËһЩÔÚGitHubÉÏ¿ìËÙÏÂÔØ´úÂëµÄÒªÁ졣ÿÖÖÒªÁ춼ÓÐËü×Ô¼ºµÄÓÅÈõµã£¬Äã¿ÉÒÔƾ֤Äã×Ô¼ºµÄÐèÇóºÍÆ«ºÃÀ´Ñ¡ÔñºÏÊʵÄÒªÁì¡£ÎÞÂÛÄãÔÚºÎʱ£¬ºÎµØ¶¼¿ÉÒÔ˳ËìµØÔÚGitHubÉÏÏÂÔص½ÄãÐèÒªµÄ´úÂë¡£
ÒÔÉϾÍÊÇ×ܽáһЩҪÁì¿ìËÙÏÂÔØGitHub´úÂëµÄÒªÁìµÄÏêϸÄÚÈÝ£¬¸ü¶àÇë¹Ø×¢±¾ÍøÄÚÆäËüÏà¹ØÎÄÕ£¡