ÔõÑùÍùgiteeÉÏ´«ÏîÄ¿
giteeÊǺ£ÄÚ½ÏΪʢÐеĿªÔ´´úÂëÍйÜƽ̨£¬¿ÉÒÔÓÃÀ´´æ´¢¡¢ÖÎÀí¡¢·ÖÏíÏîÄ¿´úÂë¡£ÈôÊÇÄ㻹²»ÖªµÀÔõÑùʹÓÃgiteeÉÏ´«ÏîÄ¿£¬±¾ÎĽ«ÎªÄãÌṩÏêϸ°ì·¨¡£
µÚÒ»²½£º×¢²áÕ˺Å
ÈôÊÇÄ㻹ûÓÐGiteeÕ˺ţ¬ÐèÒªÏÈ×¢²áÒ»¸ö¡£ÔÚGiteeÊ×Ò³µã»÷¡°×¢²á¡±°´Å¥£¬ÌîдÐëÒªÐÅÏ¢²¢¾ÙÐÐÑéÖ¤ºó£¬¼´¿É×¢²áÀֳɡ£ÈôÊÇÄãÓÐGitHubÕ˺ţ¬»¹¿ÉÒÔʹÓÃGitHubÕ˺ŵǼGitee¡£
µÚ¶þ²½£º½¨Éè¿ÍÕ»
ÔڵǼGiteeºó£¬µã»÷¡°Ð½¨¿ÍÕ»¡±¼´¿É½¨ÉèÒ»¸öеĴúÂë¿ÍÕ»¡£ÔÚ¿ÍÕ»µÄ½çÃæÖУ¬Äã¿ÉÒÔÉèÖÿÍÕ»Ãû³Æ¡¢ÐÎò¡¢ÖÖ±ðµÈÐÅÏ¢¡£
µÚÈý²½£ºÉÏ´«´úÂë
ÔÚ´úÂë¿ÍÕ»µÄÖ÷Ò³ÖУ¬Äã¿ÉÒÔ¿´µ½¡°HTTP¡±µÄµØµãÀ¸£¬´Ë´¦Îª¿ÍÕ»µÄURL¡£
ΪÁËÉÏ´«´úÂëµ½¸Ã¿ÍÕ»ÖУ¬ÄãÐèÒª½«´úÂëÍâµØ¿ÍÕ»ÖеÄÏîÄ¿ÉÏ´«µ½Ô¶³Ì¿ÍÕ»¡£
µÚÒ»ÖÖ·½·¨£º
Ê×ÏÈ£¬ÄãÐèҪװÖÃgit²¢ÔÚÄãµÄµçÄÔÉÏÉèÖúÃgitµÄSSHÃØÔ¿¡£
µ½ÄãÍâµØ¿ÍÕ»µÄĿ¼Ï£¬ÓÒ¼ü·¿ª¡°Git Bash Here¡±¡£
ÔÚGit BashÖÐÊäÈëÒÔÏÂÏÂÁ
$ git init
µÇ¼ºó¸´ÖÆ
È»ºóÊäÈëÒÔÏÂÏÂÁ½«¡°yourusername¡±Ð޸ijÉÄãµÄGiteeÕ˺ţ¬½«¡°yourreponame¡±Ð޸ijÉÄãµÄ´úÂë¿ÍÕ»Ãû³Æ£©£º
$ git remote add origin git@gitee.com:yourusername/yourreponame.git
µÇ¼ºó¸´ÖÆ
½«ÄãÍâµØµÄÊÂÇéÇø´úÂëͨ¹ýÒÔÏÂÏÂÁî·ÅÈ뻺´æÖУº
$ git add .
µÇ¼ºó¸´ÖÆ
ͨ¹ýÒÔÏÂÏÂÁîÌá½»½ÓÂ룺
$ git commit -m "first commit"
µÇ¼ºó¸´ÖÆ
ͨ¹ýÒÔÏÂÏÂÁ´úÂë´ÓÍâµØ¿ÍÕ»ÉÏ´«µ½Ô¶³Ì¿ÍÕ»£º
$ git push -u origin master
µÇ¼ºó¸´ÖÆ
µÚ¶þÖÖ·½·¨£º
Ê×ÏÈ£¬ÄãÐèҪװÖÃGitee Desktop¡£
½«ÄãµÄÍâµØGit¿ÍÕ»µ¼ÈëGitee DesktopÖС£
Ñ¡ÔñÄãÐèÒªÉÏ´«µÄ·ÖÖ§£¬²¢½«·ÖÖ§Ìá½»µ½Ô¶³Ì¿ÍÕ»¡£
µÚËIJ½£º¼ì²é´úÂë
ÔÚÉÏ´«Íê´úÂëÖ®ºó£¬¿ÉÒÔͨ¹ýGiteeµÄ¡°´úÂ롱¹¦Ð§¾ÙÐмì²é¡£Í¨¹ý¼ì²é£¬¿ÉÒÔÈ·±£ÄãÉÏ´«µÄ´úÂëÊÇÍêÕûµÄ¡¢ÎÞÎóµÄ£¬²¢ÇÒûÓÐδÌá½»µÄ¸ü¸Ä¡£
µÚÎå²½£º·ÖÏíÏîÄ¿
×îºó£¬Äã¿ÉÒÔ½«ÄãµÄ´úÂë¿ÍÕ»·ÖÏíµ½GiteeÉçÇøÖС£·ÖÏíÀֳɺó£¬ÆäËûÓû§¾ÍÄܹ»»á¼ûºÍʹÓÃÄãµÄÏîÄ¿´úÂëÁË¡£
×ܽá
ͨ¹ýÒÔÉÏ°ì·¨£¬Äã¾Í¿ÉÒÔ½«ÄãµÄ´úÂëÉÏ´«µ½GiteeÖУ¬²¢ÓëÆäËûÓû§·ÖÏíÁË¡£ÎÞÂÛÊÇ×Ô¼ºµÄСÎÒ˽ÈËÏîÄ¿ÕÕ¾ÉСÍŶӵÄÏàÖúÏîÄ¿£¬¶¼¿ÉÒÔͨ¹ýGiteeʵÏÖ´úÂëµÄ´æ´¢ºÍÍйܡ£Ï£ÍûÕâƪÎÄÕÂÄܹ»×ÊÖúµ½Ä㣬ҲϣÍûÄã¿ÉÒÔͨ¹ýGitee¾ÙÐиü¶àµÄ¿ªÔ´ÏîĿТ˳¡£
ÒÔÉϾÍÊÇÔõÑùÍùgiteeÉÏ´«ÏîÄ¿µÄÏêϸÄÚÈÝ£¬¸ü¶àÇë¹Ø×¢±¾ÍøÄÚÆäËüÏà¹ØÎÄÕ£¡