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

ÔõÑùÔÚGitLabЧÀÍÆ÷ÉÑþ³ØýÏîÄ¿

gitlabÊÇÒ»¿îºÜÊÇÊ¢ÐеÄÔ´´úÂëÖÎÀí¹¤¾ß£¬ËüÌṩÁËһϵÁеĹ¦Ð§£¬Èç°æ±¾¿ØÖÆ¡¢ÏàÖú¿ª·¢¡¢´úÂëÉó²éµÈµÈ£¬Ê¹µÃÍŶÓÏàÖúµÄ´úÂ뿪·¢Ô½·¢¸ßЧ¡¢Çå¾²ºÍ¿É¿¿¡£¿ÉÊÇ£¬¹ØÓÚgitlabÉϵÄÏîÄ¿£¬ÈôÊDz»ÔÙÐèÒª£¬ÎÒÃÇÐèÒª½«Æäɾ³ý¡£±¾ÎĽ«ÏÈÈÝÔõÑùÔÚgitlabЧÀÍÆ÷ÉÑþ³ØýÏîÄ¿¡£

µÇ¼GitLabЧÀÍÆ÷

Ê×ÏÈ£¬ÎÒÃÇÐèÒªµÇ¼GitLabЧÀÍÆ÷¡£³öÓÚÇå¾²ÐÔ˼Á¿£¬ÎÒÃǽ¨ÒéʹÓÃSSHЭÒé¾ÙÐеǼ¡£SSHЭÒéͨ¹ý¹«Ô¿¼ÓÃÜ·½·¨ÅþÁ¬µ½Ô¶³ÌЧÀÍÆ÷£¬¿ÉÒÔÓÐÓñ £»¤ÅþÁ¬Çå¾²¡£

µÇ¼ÏÂÁ

ssh username@gitlab.example.com

µÇ¼ºó¸´ÖÆ

ÆäÖУ¬usernameΪÄãÔÚGitLabЧÀÍÆ÷ÉϵÄÓû§Ãû£¬gitlab.example.comΪGitLabЧÀÍÆ÷µÄµØµã¡£

²éÕÒÐèҪɾ³ýµÄÏîÄ¿

ÔڵǼºó£¬ÎÒÃÇÐèÒªÕÒµ½ÐèҪɾ³ýµÄÏîÄ¿¡£ÎÒÃÇ¿ÉÒÔͨ¹ýGitLabµÄÍøÒ³½çÃæÕÒµ½ÏîÄ¿µÄID»òÏîÄ¿Ãû³Æ£¬ÒÔ±ãÔÚÏÂÁîÐÐÖоÙÐÐɾ³ý²Ù×÷¡£

ʹÓÃÏÂÁîÐÐɾ³ýÏîÄ¿

½ÓÏÂÀ´£¬ÎÒÃÇ¿ÉÒÔʹÓÃGitLabÌṩµÄÏÂÁîÐй¤¾ß¾ÙÐÐɾ³ý²Ù×÷¡£ÔÚÏÂÁîÐÐÖмüÈëÒÔÏÂÏÂÁ

ƾ֤ÏîÄ¿IDɾ³ý£º

curl --request DELETE --header "PRIVATE-TOKEN: <your_access_token>" https://gitlab.example.com/api/v4/projects/<project_id></project_id></your_access_token>

µÇ¼ºó¸´ÖÆ

ÆäÖУ¬ ÊÇÄãµÄ˽ÈËÁîÅÆ£¬ ÊÇÄãҪɾ³ýµÄÏîÄ¿µÄID¡£

ƾ֤ÏîÄ¿Ãû³Æɾ³ý£º

curl --request DELETE --header "PRIVATE-TOKEN: <your_access_token>" https://gitlab.example.com/api/v4/projects/<namespace>%2F<project_name></project_name></namespace></your_access_token>

µÇ¼ºó¸´ÖÆ

ÆäÖУ¬ ÊÇÄãµÄ˽ÈËÁîÅÆ£¬ ÊÇÏîÄ¿ËùÔÚµÄÃüÃû¿Õ¼ä£¬ ÊÇÏîÄ¿Ãû³Æ¡£

ÒÔÉÏÏÂÁîÖеÄ˽ÈËÁîÅÆ¿ÉÒÔÔÚGitLabµÄÓû§ÉèÖÃÒ³ÃæÖÐÌìÉú¡£Çë×¢ÖØ£¬Ê¹ÓÃÕâЩÏÂÁî¿ÉÄÜÐèÒªÖÎÀíԱȨÏÞ¡£

È·ÈÑþ³ØýЧ¹û

ɾ³ýÏÂÁîÖ´Ðк󣬽«»á·µ»ØÒ»¸öHTTP״̬Âë¡£ÈôÊÇ״̬ÂëΪ200£¬Ôò˵Ã÷ɾ³ýÀֳɡ£Í¬Ê±£¬ÔÚGitLabµÄÍøÒ³½çÃæÖУ¬¸ÃÏîÄ¿Ò²Ó¦¸ÃÒѾ­±»É¾³ý¡£

ÐèҪעÖصÄÊÇ£¬¸Ã²Ù×÷ÊDz»¿ÉÄæµÄ£¬É¾³ýºó½«ÎÞ·¨»Ö¸´Êý¾Ý£¬ÇëÉóÉ÷²Ù×÷¡£

×ܵÄÀ´Ëµ£¬É¾³ýGitLabЧÀÍÆ÷ÉϵÄÏîÄ¿ÊÇÒ»ÏîºÜÊǼòÆӵIJÙ×÷£¬Ö»ÐèҪͨ¹ýÏÂÁîÐÐÊäÈ뼸¸öÏÂÁî¼´¿ÉÇáËÉÍê³É¡£µ«ÔÚɾ³ý֮ǰ£¬ÇëÒ»¶¨ÒªÈ·ÈÏ×Ô¼ºÒªÉ¾³ýµÄÏîÄ¿£¬²¢±¸·ÝºÃ×Ô¼ºµÄÊý¾Ý¡£

ÒÔÉϾÍÊÇÔõÑùÔÚGitLabЧÀÍÆ÷ÉÑþ³ØýÏîÄ¿µÄÏêϸÄÚÈÝ£¬¸ü¶àÇë¹Ø×¢±¾ÍøÄÚÆäËüÏà¹ØÎÄÕ£¡

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

Ïà¹ØÐÂÎÅ

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

18523999891

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

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

QR code
ÍøÕ¾µØͼ