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

ÔõÑùɾ³ý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µÄÏêϸÄÚÈÝ£¬¸ü¶àÇë¹Ø×¢±¾ÍøÄÚÆäËüÏà¹ØÎÄÕ£¡

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

Ïà¹ØÐÂÎÅ

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

18523999891

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

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

QR code
ÍøÕ¾µØͼ