ÔõÑùʹÓÃGitHubÀ´°²ÅÅÄãµÄÏîÄ¿
Ëæ×ÅÔ½À´Ô½¶àµÄ¿ª·¢ÕߺÍÆóÒµ×îÏÈʹÓÃgit¾ÙÐдúÂëÖÎÀí£¬github×÷Ϊgit°æ±¾¿ØÖÆϵͳ×îÊܽӴýµÄƽ̨֮һ£¬³ÉΪÁËÒ»¸öºÜÊÇÊ¢ÐеĴúÂëÍйܺÍÐ×÷¹¤¾ß¡£ÔÚ¿ª·¢ÏîÄ¿µÄʱ¼ä£¬×îÖ÷ÒªµÄ¾ÍÊǽ«´úÂë°²Åŵ½Éú²úÇéÐÎÖУ¬ÈÃÓû§Äܹ»Õý³£Ê¹Óá£
ÔÚ±¾ÎÄÖУ¬ÎÒÃǽ«ÌÖÂÛÔõÑùʹÓÃGitHubÀ´°²ÅÅÄãµÄÏîÄ¿¡£
µÚÒ»²½£º½¨Éè¿ÍÕ»
Ê×ÏÈ£¬ÔÚGitHubÉϽ¨ÉèÒ»¸ö¿ÍÕ»¡£ÈôÊÇÄãÒѾÓÐÁËÒ»¸ö¿ÍÕ»£¬¿ÉÒÔÌø¹ýÕâÒ»²½¡£
ÔÚ½¨Éè¿ÍÕ»µÄʱ¼ä£¬ÄãÐèҪѡÔñÊǽ«¿ÍÕ»ÉèÖÃΪ¹ûÕæÕÕ¾É˽ÓС£ÈôÊÇÐèÒªÈÃÆäËûÈËÄܹ»Ð×÷£¬ÄÇôѡÔñ¹ûÕæ¿ÍÕ»¡£ÈôÊÇÄãÏ£ÍûËùÓдúÂ붼ÊÇ˽Óеģ¬ÄÇôѡÔñ˽ÓпÍÕ»¡£
½¨Éè¿ÍÕ»µÄÀú³ÌºÜ¼òÆÓ£¬Ö»ÐèÒªÌîдÏà¹ØÐÅÏ¢¼´¿É¡£ÈôÊÇÐèҪʹÓÃGitHubµÄÐ×÷¹¦Ð§£¬ÔÚ¿ÍÕ»ÖÐÌí¼ÓËùÐèµÄÏîÄ¿³ÉÔ±¼´¿É¡£
µÚ¶þ²½£ºÌí¼Ó´úÂë
ÔÚ½¨Éè¿ÍÕ»Ö®ºó£¬Äã¿ÉÒÔ½«ÄãµÄ´úÂëÉÏ´«µ½GitHubÖС£Äã¿ÉÒÔͨ¹ýGitHubµÄWeb½çÃæ»òÕßÊÇÏÂÁîÐÐÀ´¾ÙÐдúÂëÉÏ´«¡£ÒÔÏÂÊÇͨ¹ýÏÂÁîÐÐÉÏ´«´úÂëµÄʾÀý¡£
Ê×ÏÈÐèÒª°ÑÄãµÄ´úÂë´ÓÍâµØµÄ¿ª·¢ÇéÐÎÖÐÉÏ´«µ½GitHubÖС£ÈôÊÇÄãÒѾװÖÃÁËGit£¬¿ÉÒÔͨ¹ýÒÔÏ°취À´ÉÏ´«´úÂ룺
ÔÚÖÕ¶ËÖз¿ªÄãµÄÏîĿĿ¼¡£
ÔËÐÐgit initÏÂÁ½«Ä¿Â¼³õʼ»¯ÎªGit¿ÍÕ»¡£
ÔËÐÐgit add .£¬½«ËùÓÐÎļþÌí¼Óµ½Git¿ÍÕ»ÖС£
ÔËÐÐgit commit -m “Initial commit”£¬Ìá½»ÄãµÄµÚÒ»¸öcommit¡£
ÔÚGitHubÉϽ¨ÉèÒ»¸ö¿ÍÕ»²¢ÉèÖÃÔ¶³Ì¿ÍÕ»µÄURL£¬È»ºó½«ÍâµØ´úÂëÍÆË͵½Ô¶³Ì¿ÍÕ»ÖС£
ÈôÊÇÄãÐèÒªÔÚGitHubÉϾÙÐÐÐ×÷£¬ÄÇô¿ÉÒÔʹÓÃGitHub DesktopÓ¦ÓóÌÐò¡£Ëü¿ÉÒÔÈÃÄãÇáËɵØͬ²½ÍâµØºÍÔ¶³Ì´úÂ룬Àû±ãÄãºÍÆäËû¿ª·¢Õß¾ÙÐÐÐ×÷¡£
µÚÈý²½£ºÉèÖÃGitHub Pages
GitHub PagesÊÇGitHubÌṩµÄÒ»¸öÃâ·ÑµÄ¾²Ì¬ÍøÕ¾ÍйÜЧÀÍ£¬²¢ÇÒºÜÈÝÒ×ÉèÖá£Ê¹ÓÃGitHub Pages£¬Äã¿ÉÒÔ½«ÄãµÄ´úÂë°²Åŵ½Éú²úÇéÐÎÖУ¬²¢½«ÆäÐû²¼µ½»¥ÁªÍøÉÏ¡£
ÒÔÏÂÊÇÔÚGitHubÉÏÉèÖÃGitHub PagesµÄ°ì·¨£º
ÔÚGitHubÉÏ·¿ªÄãµÄ¿ÍÕ»¡£
µã»÷Settings¡£
ÔÚSettings½çÃæÖУ¬ÏòÏ»¬¶¯£¬ÕÒµ½GitHub Pages²¿·Ö¡£
ÔÚSource²¿·ÖÑ¡ÔñÄãÐèÒª°²ÅŵķÖÖ§¡£
Ñ¡Ôñ¡°None¡±»òÕß¡°Master¡±·ÖÖ§£¬Æ¾Ö¤ÄãµÄÇéÐÎÑ¡Ôñ¡£
ÈôÊÇÄãµÄÏîÄ¿ÐèÒªÒ»¸öÌض¨µÄÓòÃû£¬¿ÉÒÔÔÚCustom domainÖÐÊäÈë×Ô½ç˵ÓòÃû¡£
µ±ÄãÍê³ÉÁËÒÔÉÏ°ì·¨£¬µã»÷Save£¬GitHub Pages¾Í»á×Ô¶¯ÎªÄãµÄÏîÄ¿ÌìÉúÒ»¸öÁ´½Ó¡£Äã¿ÉÒÔͨ¹ýÕâ¸öÁ´½Ó»á¼ûÄãµÄÍøÕ¾¡£
µÚËIJ½£º°²Åŵ½ÔƶË
GitHubÊÇÒ»¸öºÜºÃµÄ´úÂëÍйÜƽ̨£¬¿ÉÊÇËü²¢²»¿ÉÌṩǿʢµÄÔÆЧÀÍ£¬ÎªÁËÄܹ»Ê¹ÓÃÔƶ˵Ä×ÊÔ´À´°²ÅÅÄãµÄÏîÄ¿£¬Äã¿ÉÒÔÑ¡ÔñÏñAWS¡¢Azure»òÕßGoogle CloudµÈÔÆЧÀÍÌṩÉÌ¡£
ÔÚÒÔϼòÒªÏÈÈÝһЩÔõÑùʹÓÃÔƶËЧÀÍ°²ÅÅÄãµÄÏîÄ¿£º
ÔÚÄãÑ¡ÔñµÄÔÆЧÀÍÌṩÉÌÖн¨ÉèÒ»¸öÐéÄâ»úʵÀý¡£
ÔÚʵÀýÉÏ×°ÖÃÐëÒªµÄÈí¼þºÍÇéÐΣ¬ÀýÈçWebЧÀÍÆ÷¡¢Êý¾Ý¿âºÍÓ¦ÓóÌÐòÇéÐεȡ£
°ÑÄãµÄ´úÂë°²Åŵ½ÔÆЧÀÍÆ÷ÉÏ¡£
¸üÐÂDNS¼Í¼£¬ÒÔ±ã¿ÉÒÔͨ¹ýÍⲿ»á¼ûÄãµÄÍøÕ¾¡£
ÔÚ°²Åŵ½ÔƶË֮ǰ£¬ÄãÐèÒª×Ðϸ˼Á¿ÄãµÄÏîÄ¿ËùÐèÒªµÄ×ÊÔ´£¬ÀýÈç´æ´¢¡¢´ø¿íºÍ´¦Öóͷ£Æ÷µÈ¡£½«ÄãµÄÏîÄ¿°²Åŵ½ÔƶËÐèÒªÒ»¶¨µÄÊÖÒÕ֪ʶºÍÂÄÀú£¬ÈôÊÇÄ㲻ȷ¶¨ÔõÑù°²Åŵ½Ôƶˣ¬¿ÉÒÔ×·ÇóרҵµÄ×ÊÖú¡£
×ܽá
ͨ¹ý×ñÕÕÒÔÉÏ°ì·¨£¬Äã¿ÉÒÔ¿ìËÙ¶øÈÝÒ׵ؽ«ÄãµÄ´úÂë°²Åŵ½Éú²úÇéÐÎÖС£GitHubÌṩÁ˺ÜÊÇÀû±ãµÄ¹¤¾ßºÍЧÀÍ£¬Ê¹µÃ´úÂëµÄÖÎÀíºÍ°²ÅűäµÃ¼òÆÓÒ×ÐС£Äã¿ÉÒÔ½«ÄãµÄÏîÄ¿°²Åŵ½GitHub PagesÉÏ£¬Ò²¿ÉÒÔÑ¡Ôñ½«Æä°²Åŵ½Ôƶˡ£ÔÚÄã¾öÒé°²Åŵ½Äĸöƽ̨֮ǰ£¬±ØÐèÒªÃ÷È·ÄãµÄÐèÇ󣬲¢Ïàʶ²î±ðƽ̨µÄÓÅÈõµã¡£
ÒÔÉϾÍÊÇÔõÑùʹÓÃGitHubÀ´°²ÅÅÄãµÄÏîÄ¿µÄÏêϸÄÚÈÝ£¬¸ü¶àÇë¹Ø×¢±¾ÍøÄÚÆäËüÏà¹ØÎÄÕ£¡