ÔõÑùɾ³ýGitHubÉϵÄfork
githubÊÇÏÖÔÚʹÓÃ×îÆձ顢×îÊܽӴýµÄ´úÂëÍйÜƽ̨֮һ£¬ÓµÓÐ×ÅÊýÒڵĿª·¢ÕßÓû§ÈºÌå¡£Ëæ×Åʱ¼äµÄÍÆÒÆ£¬Ô½À´Ô½¶àµÄ¿ª·¢Õß»á´ÓgithubÉÏfork±ðÈ˵ÄÏîÄ¿£¬²¢¹¹½¨³ö×Ô¼ºµÄ¶¨ÖÆ°æ¡£
È»¶ø£¬ÓÐʱ¼äÄã¿ÉÄܻ᲻ÔÙÐèÒªÄãforkµÄij¸öÏîÄ¿¡£Õâʱ¼ä£¬Äã¾ÍÐèÒªÖªµÀÔõÑùɾ³ýÄãµÄfork£¬ÒÔ±ãÈÃÄãµÄGitHubÖÎÀí½çÃæ±äµÃÔ½·¢¾«Á·¡¢Çå½à¡£±¾ÎĽ«¸æËßÄãÔõÑùɾ³ýGitHubÉϵÄfork¡£
1.ÕÒµ½ÄãҪɾ³ýµÄfork
Ê×ÏÈ£¬ÄãÐèÒªÕÒµ½ÄãÏëɾ³ýµÄËÈËfork¡£»á¼û¸ÃÏîÄ¿µÄÊ×Ò³£¬ÔÚÒ³ÃæÉÏ·½µÄµ¼º½À¸ÖУ¬¿ÉÒÔ¿´µ½¸ÃÏîÄ¿µÄforkÊýÄ¿¡£ÈôÊÇÄãµÄÕË»§ÖÐforkÁ˸ÃÏîÄ¿£¬Äã¿ÉÒÔÔÚÒ³ÃæÖÐÕÒµ½ºÍµã»÷½øÈëÄãµÄfork¡£
ÈôÊÇÄãÎÞ·¨ÕÒµ½¸Ãfork£¬Äã¿ÉÒÔÇ°ÍùÄãµÄGitHubСÎÒ˽¼ÒÖ÷Ò³£¬µã»÷¡°Forks¡±°´Å¥£¬¼´¿É¿´µ½ÄãËùÓÐforkµÄÏîÄ¿ÁÐ±í¡£
2.ɾ³ýfork
ÔÚÕÒµ½forkËùÔÚÏîÄ¿ºó£¬Äã¼´¿Éµã»÷ÏîÄ¿Ò³ÃæÉÏ·½µÄ¡°Fork¡±°´Å¥£¬½øÈëforkµÄÏîÄ¿Ò³Ãæ¡£ÔÚÒ³ÃæÓÒÉϽÇÓÐÒ»¸ö¡°Delete fork¡±°´Å¥£¬µã»÷¼´¿É×îÏÈɾ³ýÄãµÄfork¡£
´Ëʱ£¬GitHub½«»áµ¯³öÒ»¸öÈ·Èϵ¯´°£¬ÒªÇóÄãÔÙ´ÎÈ·ÈÑþ³ØýÐÐΪ¡£È·ÈϺó£¬Ö»ÐèÒªÆÚ´ýÒ»¶Îʱ¼ä£¬GitHubϵͳ½«×Ô¶¯Íê³Éɾ³ý²Ù×÷¡£
ÐèҪעÖصÄÊÇ£¬Ò»µ©Äãɾ³ýÁËÄãµÄfork£¬Ä㽫²»ÔÙÓµÓиÃÏîÄ¿µÄÈκθ±±¾¡£Òò´Ë£¬ÈôÊÇÄãÐèÒª¸ÃÏîÄ¿£¬ÇëÈ·±£ÄãÒѾ×öºÃÁ˱¸·ÝÊÂÇé¡£
3.ɾ³ýºóÄãÐèÒª×öµÄÊÂÇé
ÔÚÍê³Éɾ³ýÖ®ºó£¬ÄãÐèҪȷ±£ÄãµÄÍâµØ¿ÍÕ»ÒѾɨ³ý¸ÃÏîÄ¿µÄÁ´½Ó¡£ÏêϸÀ´½²£¬ÄãÐèÒª·¿ªÍâµØ¿ÍÕ»µÄÖն˽çÃ棬ÊäÈëÒÔÏÂÏÂÁ
git remote -v
µÇ¼ºó¸´ÖÆ
¸ÃÏÂÁÁгöÄã¿ÍÕ»µÄËùÓÐÔ¶³ÌÁ´½Ó¡£ÄãÐèҪȷ±£Äã²»ÔÙ¿´µ½Äã¸Õ¸Õɾ³ýµÄforkÁ´½Ó·ºÆð¡£
ÈôÊÇÄãÈÔÈ»¿´µ½¸ÃÁ´½Ó£¬ÔòÐèÒªÊÖ¶¯É¾³ý¸ÃÁ´½Ó¡£Ê¹ÓÃÒÔÏÂÏÂÁî¼´¿Éɾ³ý£º
git remote rm [remote_name]
µÇ¼ºó¸´ÖÆ
ÔÚ¸ÃÏÂÁîÖУ¬¡°remote_name¡±´ú±íÄãҪɾ³ýµÄÔ¶³ÌÁ´½ÓµÄÃû³Æ¡£
×ܽá
ɾ³ýGitHubÉϵÄfork²¢²»ÊÇÒ»ÏîÄÑÒÔÍê³ÉµÄʹÃü£¬Ö»ÐèÒª¼òÆӵļ¸¸ö°ì·¨¼´¿ÉÍê³É¡£×ܽáÆðÀ´£¬Ö»ÐèÒªÈý²½£ºÕÒµ½ÄãҪɾ³ýµÄfork¡¢µã»÷¡°Delete fork¡±°´Å¥È·ÈÑþ³Øý¡¢È·±£ÍâµØ¿ÍÕ»ÖÐûÓиÃÏîÄ¿µÄÁ´½Ó¡£ÈôÊÇÄãÐèҪɾ³ýGitHubÉϵÄfork£¬ÏÖÔÚÄãÒѾ֪µÀ¸ÃÔõÑù²Ù×÷À²£¡
ÒÔÉϾÍÊÇÔõÑùɾ³ýGitHubÉϵÄforkµÄÏêϸÄÚÈÝ£¬¸ü¶àÇë¹Ø×¢±¾ÍøÄÚÆäËüÏà¹ØÎÄÕ£¡