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

ÏêϸÏÈÈÝ GitLab ÔõÑùʹÓÃ

СÐò

GitLab ÊÇÒ»¿îÃæÏòÍŶӵÄÔ´´úÂëÖÎÀí¹¤¾ß£¬ËüÌṩÁËһϵÁеĿª·¢¹¤¾ßºÍÒ»Á¬¼¯ÀÖ³ÉÄÜ¡£ÈôÊÇÄú»¹Î´Ñ§Ï° GitLab£¬±¾ÎĽ«ÎªÄúÌṩÏêϸµÄ GitLab ÔõÑùʹÓý̳Ì¡£

×°ÖÃ GitLab

GitLab ¿ÉÒÔÔÚ Windows¡¢Linux ºÍ Mac ÉÏÔËÐУ¬Äú¿ÉÒÔÑ¡ÔñÖ±½ÓÔÚÆä¹ÙÍøÏÂÔØ GitLab ×°ÖóÌÐò²¢¾ÙÐÐ×°Öá£ÈôÊÇÄúÕýÔÚʹÓà Linux ϵͳ£¬Ôò¿ÉÒÔͨ¹ý package manager ×°Öà GitLab¡£ÀýÈ磬ÔÚ Ubuntu ÉÏ£¬¿ÉÒÔʹÓÃÒÔÏÂÏÂÁî×°Öà GitLab£º

curl -s https://packages.gitlab.com/install/repositories/gitlab/gitlab-ce/script.deb.sh | sudo bash
sudo apt-get install gitlab-ce

µÇ¼ºó¸´ÖÆ

×°ÖÃÍê³Éºó£¬Äú¿ÉÒÔͨ¹ýÔÚä¯ÀÀÆ÷ÖÐÊäÈë http:// À´»á¼û GitLab¡£

½¨ÉèÏîÄ¿

ÔÚ GitLab Öн¨ÉèÏîÄ¿ºÜÊǼòÆÓ¡£ÄúÖ»Ðèµã»÷ New project °´Å¥²¢ÌîдÏîÄ¿µÄÃû³Æ¡¢ÐÎòºÍ»á¼û¼¶±ð¼´¿É½¨ÉèÒ»¸öÐÂÏîÄ¿¡£

Ìí¼ÓÓû§

ÔÚ GitLab ÖУ¬ÍŶӳÉÔ±ÐèÒª±»Ìí¼Óµ½ÄúµÄÏîÄ¿ÖвŻª»á¼ûËü¡£µ¥»÷ÏîÄ¿Ö÷Ò³É쵀 Settings °´Å¥£¬È»ºóÑ¡Ôñ Members Ñ¡Ï¡£ÔÚÄÇÀÄú¿ÉÒÔÌí¼ÓÓû§²¢ÎªËûÃÇÉèÖûá¼û¼¶±ð¡£

½¨Éè·ÖÖ§

ÔÚ GitLab ÈκβÙ×÷֮ǰ£¬¶¼ÐèÒªÏȽ¨ÉèÒ»¸ö·ÖÖ§¡£Ä¬ÈÏÇéÐÎÏ£¬ËùÓÐÏîÄ¿¶¼ÓÐÒ»¸ö master ·ÖÖ§£¬µ«Äú¿ÉÒÔ½¨Éèí§ÒâÊýÄ¿µÄ·ÖÖ§¡£

Òª½¨ÉèÒ»¸öзÖÖ§£¬Çëµ¥»÷ÏîÄ¿Ö÷Ò³É쵀 Branches °´Å¥¡£´ÓÄÇÀÄú¿ÉÒÔÊäÈëзÖÖ§µÄÃû³Æ²¢Ñ¡Ôñ»ùÓÚÄĸö·ÖÖ§½¨Éè¡£

Ìá½»½ÓÂë

ÔÚ GitLab ÖУ¬Ê¹Óà git add ºÍ git commit ÏÂÁîÌá½»½ÓÂë¡£Äú¿ÉÒÔʹÓà GitLab µÄ Web ½çÃæ»òÏÂÁîÐС£

ÔÚ Web ½çÃæÖУ¬Äú¿ÉÒÔͨ¹ý½«ÎļþÍϵ½ÏîÄ¿Ò³ÃæÉÏ»òʹÓà Upload file °´Å¥À´ÉÏ´«Îļþ¡£ÍêÕûµÄ´úÂë¿â¿ÉÒÔʹÓà git clone ÏÂÁîÖ±½ÓÏÂÔص½ÍâµØÎļþ¼ÐÖС£

¾ÙÐÐ Merge Request

ÔÚ GitLab ÖУ¬Merge Request ÊÇÒ»¸öÖ÷ÒªµÄ¿´·¨¡£Äú¿ÉÒÔͨ¹ý Merge Request ½«ÄúµÄ´úÂë·ÖÖ§ºÏ²¢µ½Ö÷·ÖÖ§ÖС£

Òª¾ÙÐÐ Merge Request£¬Çë´ÓÄú½¨Éè·ÖÖ§µÄÒ³ÃæÖÐÑ¡Ôñ Create a Merge Request °´Å¥¡£ÔÚÄÇÀÄú¿ÉÒÔÖ¸¶¨ÄÄЩ´úÂë¸ü¸ÄÓ¦ºÏ²¢¡£ÆäËûÍŶӳÉÔ±¿ÉÒÔÔÚ Merge Request Ò³ÃæÖжÔÌá½»µÄ´úÂë¾ÙÐÐÆÀÉó²¢Ìṩ·´Ïì¡£Ò»µ© Merge Request ±»Åú×¼£¬ÄúµÄ´úÂë¾Í¿ÉÒԺϲ¢µ½Ö÷·ÖÖ§ÖС£

½áÂÛ

Ï£Íû±¾ÎĶÔÄúÓÐËù×ÊÖú£¬ËüÌṩÁËʹÓà GitLab µÄ»ù±¾½Ì³Ì¡£GitLab ¾ßÓÐÐí¶àÆäËû¹¦Ð§ºÍ¹¤¾ß£¬½¨ÒéÄúÖð²½Ñ§Ï°²¢ÕÆÎÕÕâЩ¹¦Ð§£¬ÒÔ³ä·ÖʹÓà GitLab µÄDZÁ¦¡£

ÒÔÉϾÍÊÇÏêϸÏÈÈÝ GitLab ÔõÑùʹÓõÄÏêϸÄÚÈÝ£¬¸ü¶àÇë¹Ø×¢±¾ÍøÄÚÆäËüÏà¹ØÎÄÕ£¡

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

Ïà¹ØÐÂÎÅ

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

13452372176

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

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

QR code
ÍøÕ¾µØͼ