×ðÁú¿­Ê±¹ÙÍøµÇ¼

ÔÚÆ»¹ûµçÄÔÉÏÔõÑù×°ÖÃgitee

Ëæ×ųÌÐòÔ±¶ÔgitµÄʹÓÃÔ½·¢ÊìÁ·£¬Ô½À´Ô½¶àµÄÈË×îÏÈʹÓÃgitee¾ÙÐдúÂë°æ±¾¿ØÖÆ¡£¶ø¹ØÓÚÆ»¹ûµçÄÔÓû§£¬ÔõÑù×°ÖÃgitee²¢Ê¹ÓÃËü³ÉΪÁËÒ»¸öÖ÷ÒªµÄÎÊÌâ¡£ÏÂÃæÎÒÃǾÍÀ´ÏêϸÏÈÈÝÒ»ÏÂÔÚÆ»¹ûµçÄÔÉÏÔõÑù×°ÖÃgitee¡£

Ò»¡¢×°ÖÃHomebrew

HomebrewÊÇMac OSµÄÒ»¸ö°ü¹ÜÀíÆ÷£¬¿ÉÒÔºÜÀû±ãµØ×°ÖÃÖÖÖÖÈí¼þºÍ¹¤¾ß¡£ÎªÁË×°ÖÃgitee£¬ÎÒÃÇÐèÒªÊ×ÏÈ×°ÖÃHomebrew¡£·­¿ªÄãµÄÖն˲¢ÊäÈëÒÔÏÂÏÂÁ

/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

µÇ¼ºó¸´ÖÆ

ÔÚÏÂÁîÖ´ÐÐÍê³Éºó£¬Ê¹ÓÃÏÂÁî brew doctor È·¶¨ÊÇ·ñÒѾ­ÀÖ³É×°ÖÃHomebrew¡£ÈôÊÇ·ºÆð ¡°Your system is ready to brew¡± µÄÌáÐÑ£¬ËµÃ÷ÒѾ­×°ÖÃÀֳɡ£

¶þ¡¢×°ÖÃgit

ʹÓÃHomebrewÀ´×°ÖÃgitºÜÊÇÀû±ã¡£Ö±½ÓÔÚÖÕ¶ËÖÐÊäÈëÒÔÏÂÏÂÁî¼´¿É£º

brew install git

µÇ¼ºó¸´ÖÆ

ÔÚÏÂÁîÖ´ÐÐÍê³Éºó£¬Ê¹ÓÃÏÂÁî git –version À´Éó²éÊÇ·ñÀÖ³É×°ÖÃÁËgit¡£ÈôÊÇÄܹ»Êä³ögitµÄ°æ±¾ÐÅÏ¢£¬Ôò˵Ã÷ÒѾ­×°ÖÃÀֳɡ£

Èý¡¢ÉèÖÃSSH Key

ʹÓÃgiteeÐèÒªÉèÖÃSSH Key¡£·­¿ªÖնˣ¬ÊäÈëÒÔÏÂÏÂÁîÀ´½¨ÉèÒ»¸öеÄSSH Key£º

ssh-keygen -t rsa -C "your.email@example.com"

µÇ¼ºó¸´ÖÆ

ÆäÖУ¬your.email@example.com ÊÇÄãÔÚgitee×¢²áʱËùʹÓõÄÓÊÏäµØµã¡£ÔÚÏÂÁîÖ´ÐÐÀú³ÌÖУ¬Öն˻áÒªÇóÄãÊäÈëÒ»¸öÎļþÃû£¬Áô¿Õ¼´¿É¡£½ÓÏÂÀ´£¬Öն˻áÒªÇóÄãÊäÈëÒ»¸öÃÜÂ룬Ҳ¿ÉÖ±½ÓÁô¿Õ¡£

½¨ÉèºÃSSH KeyÖ®ºó£¬ÄãÐèÒª½«¹«Ô¿¿½±´µ½giteeÉÏ¡£·­¿ªÖնˣ¬ÊäÈëÒÔÏÂÏÂÁîÀ´¿½±´¹«Ô¿£º

cat ~/.ssh/id_rsa.pub

µÇ¼ºó¸´ÖÆ

ÔÚÆÁÄ»ÉÏ»áÏÔʾÄãµÄ¹«Ô¿£¬½«Æ临ÖƲ¢Õ³Ìùµ½giteeµÄ¡°Õ˺ÅÉèÖá±Öеġ°SSH¹«Ô¿¡±Öм´¿ÉÀÖ³ÉÌí¼ÓSSH Key¡£

ËÄ¡¢×°ÖÃGitee¿Í»§¶Ë

Gitee¿Í»§¶ËÊÇGiteeΪ´úÂëÍйÜÌṩµÄÒ»¸ö¿çƽ̨µÄGUI¿Í»§¶Ë£¬¿ÉÒÔÀû±ãµØÖÎÀí´úÂë¿â¡£È¥Gitee¹ÙÍøÏÂÔضÔÓ¦°æ±¾¼´¿É¡£

ÏÂÔØÍê¿Í»§¶Ëºó£¬½«Æä½âѹµ½Äãϲ»¶µÄλÖ㬲¢½«¿Í»§¶Ë¼ÓÈëµ½ÇéÐαäÁ¿ÖС£·­¿ªÖնˣ¬ÊäÈëÒÔÏÂÏÂÁ

echo 'export PATH="/path/to/gitee-client.app/Contents/MacOS/:${PATH}"' >> ~/.bash_profile
source ~/.bash_profile

µÇ¼ºó¸´ÖÆ

ÆäÖУ¬/path/to/gitee-client.appÊÇÄãËù½âѹGitee¿Í»§¶ËµÄĿ¼£¬Çëƾ֤×Ô¼ºµÄÏÖÕæÏàÐξÙÐÐÌæ»»¡£

Î塢ʹÓÃGitee¿Í»§¶Ë

×°ÖúÃGitee¿Í»§¶Ëºó£¬Ê¹ÓÃËüÀ´ÖÎÀí´úÂë¿âºÜÊǼòÆÓ¡£·­¿ª¿Í»§¶Ë£¬Ñ¡Ôñ¡°Ð½¨¿ÍÕ»¡±£¬ÌîдÏà¹ØÐÅÏ¢£¬½¨ÉèÀֳɺ󼴿ÉÉÏ´«´úÂë¡£

³ýÁËÉÏ´«´úÂ룬Gitee¿Í»§¶ËÉÐÓÐÐí¶àÆäËûµÄ¹¦Ð§£¬ºÃ±ÈÉó²é¡¢Ð޸ġ¢ºÏ²¢´úÂëµÈ¡£Ö»ÐèÒªÔÚ½çÃæÉÏÕÒµ½¶ÔÓ¦µÄ²Ù×÷¼´¿É¡£

ÔÚMac OSÉÏ×°ÖÃGitee²¢Ê¹ÓÃËüÖÎÀí´úÂë¿âºÜÊǼòÆÓ£¬Ö»ÐèҪƾ֤ÒÔÉÏ°ì·¨ÖðÒ»¾ÙÐвÙ×÷¼´¿É¡£Ï£ÍûÕâƪÎÄÕÂÄܹ»×ÊÖú¸ü¶àµÄ³ÌÐòÔ±¿ìËÙÉÏÊÖGitee£¬Ìá¸ßÊÂÇéЧÂÊ¡£

ÒÔÉϾÍÊÇÔÚÆ»¹ûµçÄÔÉÏÔõÑù×°ÖÃgiteeµÄÏêϸÄÚÈÝ£¬¸ü¶àÇë¹Ø×¢±¾ÍøÄÚÆäËüÏà¹ØÎÄÕ£¡

ÃâÔð˵Ã÷£ºÒÔÉÏչʾÄÚÈÝȪԴÓÚÏàÖúýÌå¡¢ÆóÒµ»ú¹¹¡¢ÍøÓÑÌṩ»òÍøÂçÍøÂçÕûÀí£¬°æȨÕùÒéÓë±¾Õ¾Î޹أ¬ÎÄÕÂÉæ¼°¿´·¨Óë¿´·¨²»´ú±í×ðÁú¿­Ê±¹ÙÍøµÇ¼ÂËÓÍ»úÍø¹Ù·½Ì¬¶È£¬Çë¶ÁÕß½ö×ö²Î¿¼¡£±¾ÎĽӴýתÔØ£¬×ªÔØÇë˵Ã÷À´ÓÉ¡£ÈôÄúÒÔΪ±¾ÎÄÇÖÕ¼ÁËÄúµÄ°æȨÐÅÏ¢£¬»òÄú·¢Ã÷¸ÃÄÚÈÝÓÐÈκÎÉæ¼°ÓÐÎ¥¹«µÂ¡¢Ã°·¸Ö´·¨µÈÎ¥·¨ÐÅÏ¢£¬ÇëÄúÁ¬Ã¦ÁªÏµ×ðÁú¿­Ê±¹ÙÍøµÇ¼ʵʱÐÞÕý»òɾ³ý¡£

Ïà¹ØÐÂÎÅ

ÁªÏµ×ðÁú¿­Ê±¹ÙÍøµÇ¼

18523999891

¿É΢ÐÅÔÚÏß×Éѯ

ÊÂÇéʱ¼ä£ºÖÜÒ»ÖÁÖÜÎ壬9:30-18:30£¬½ÚãåÈÕÐÝÏ¢

QR code
ÍøÕ¾µØͼ