{"id":638,"date":"2022-01-16T14:21:45","date_gmt":"2022-01-16T05:21:45","guid":{"rendered":"https:\/\/roroing.net\/?p=638"},"modified":"2022-01-16T14:31:29","modified_gmt":"2022-01-16T05:31:29","slug":"gitlab%e3%81%a8git%e3%82%b3%e3%83%9e%e3%83%b3%e3%83%89","status":"publish","type":"post","link":"https:\/\/roroing.net\/?p=638","title":{"rendered":"GitLab\u3068git\u30b3\u30de\u30f3\u30c9"},"content":{"rendered":"\n<p>\u6065\u305a\u304b\u3057\u3044\u8a71\u3001gitlab\u3092\u4eca\u307e\u3067\u5229\u7528\u3057\u3066\u3044\u305f\u3082\u306e\u306e\u3001\u3088\u304f\u308f\u304b\u3089\u306a\u304b\u3063\u305f\u306e\u3067\u3001<br>\u30d5\u30a1\u30a4\u30eb\u3092\u30b3\u30d4\u30fc\u3057\u3066\u3001CUI\u4e0a\u3067\u30da\u30fc\u30b9\u30c8\u3057\u3066\u305d\u306e\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u4f7f\u3046\u3063\u3066\u65b9\u6cd5\u3067\u904b\u7528\u3057\u3066\u3044\u307e\u3057\u305f\u3002<strong><br><\/strong><br>\u6700\u8fd1\u306f\u30c1\u30fc\u30e0\u3067gitlab\u3092\u901a\u3057\u3066\u958b\u767a\u3059\u308b\u3053\u3068\u3067git\u30b3\u30de\u30f3\u30c9\u3092\u7528\u3044\u3066<br>gitlab\u3092\u5229\u7528\u3057\u3066\u3044\u308b\u306e\u3067\u5fd8\u308c\u306a\u3044\u3046\u3061\u306b\u30e1\u30e2\u3092\u3057\u307e\u3059\u3002<br><br>\u203b\u524d\u63d0\u3068\u3057\u3066\u3001\u65e2\u306bgitlab\u306b\u30ea\u30dd\u30b8\u30c8\u30ea\u304c\u3042\u308b\u3082\u306e\u3092\u5229\u7528\u3059\u308b\u5834\u5408\u3067\u3059\u3002<br><\/p>\n\n\n\n<p><strong>gitlab\u306b\u516c\u958b\u9375\u3092\u767b\u9332\u3059\u308b<\/strong><br><br>gitlab\u306b\u30ed\u30b0\u30a4\u30f3\u5f8c\u3001\u30d7\u30ed\u30d5\u30a3\u30fc\u30eb\u306b\u30a2\u30af\u30bb\u30b9\u3002<br>\u30e1\u30cb\u30e5\u30fc\u306e\u9805\u76ee\u304b\u3089SSH\u9375\u3092\u9078\u629e\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1842\" height=\"754\" src=\"https:\/\/roroing.net\/wp-content\/uploads\/2022\/01\/image.png\" alt=\"\" class=\"wp-image-639\"\/><\/figure>\n\n\n\n<p>\u4e0a\u8a18\u306b\u30da\u30fc\u30b8\u306b\u305f\u3069\u308a\u7740\u3044\u305f\u3089\u3001\u30ad\u30fc\u306e\u7b87\u6240\u306b\u81ea\u5206\u304c\u5229\u7528\u3059\u308b\u7aef\u672b\u306e\u516c\u958b\u9375\u3092\u8cbc\u308a\u4ed8\u3051\u307e\u3059\u3002<br>\u30bf\u30a4\u30c8\u30eb\u306f\u81ea\u52d5\u3067\u8868\u793a\u3055\u308c\u307e\u3059\u3002Expiration date\u306f\u6709\u52b9\u671f\u9650\u306a\u306e\u3067\u7a7a\u767d\u3067\u69cb\u3044\u307e\u305b\u3093\u3002<br><br><strong>git clone\u3067\u30ea\u30dd\u30b8\u30c8\u30ea\u3092\u5165\u624b\u3059\u308b<\/strong><br><br>\u81ea\u5206\u304c\u5229\u7528\u3057\u305f\u3044\u30ea\u30dd\u30b8\u30c8\u30ea\u3092\u9078\u629e\u3057\u3001\u30da\u30fc\u30b8\u53f3\u4e0a\u306e\u300c\u30af\u30ed\u30fc\u30f3\u300d\u3092\u9078\u629e\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1825\" height=\"716\" src=\"https:\/\/roroing.net\/wp-content\/uploads\/2022\/01\/image-1.png\" alt=\"\" class=\"wp-image-640\"\/><\/figure>\n\n\n\n<p>\u5148\u307b\u3069\u516c\u958b\u9375\u3092\u767b\u9332\u3057\u305f\u306e\u3067\u3001SSH\u3067\u30af\u30ed\u30fc\u30f3\u4ee5\u4e0b\u306e\u30a2\u30c9\u30ec\u30b9\u3092\u30b3\u30d4\u30fc\u3057\u307e\u3059\u3002<br><br>\u305d\u306e\u3042\u3068\u3001\u81ea\u5206\u306eCUI\u4e0a\u3067\u4ee5\u4e0b\u3092\u5165\u529b\u3059\u308b\u3068\u30ea\u30dd\u30b8\u30c8\u30ea\u3092\u5165\u624b\u3067\u304d\u307e\u3059\u3002<br><br><code>git clone \u201d\u30b3\u30d4\u30fc\u3057\u305f\u30a2\u30c9\u30ec\u30b9\u201d<\/code><\/p>\n\n\n\n<p><strong>git push\u3067\u30ea\u30dd\u30b8\u30c8\u30ea\u3092\u66f4\u65b0<\/strong><br><br>git push\u306fgitlab\u4e0a\u306e\u30ea\u30dd\u30b8\u30c8\u30ea\u3092\u66f4\u65b0\u3067\u304d\u308b\u30b3\u30de\u30f3\u30c9\u3067\u3059\u304c\u3001<br>push\u3092\u3059\u308b\u307e\u3067\u306b\u3044\u304f\u3064\u304b\u6bb5\u968e\u3092\u8e0f\u307f\u307e\u3059\u3002<br><br><strong>git add\u3067CUI\u4e0a\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u8ffd\u52a0<\/strong><br><br><code>git add \"\u5bfe\u8c61\u306e\u30b3\u30de\u30f3\u30c9\"<\/code><br><br><strong>git commit\u3067\u30ea\u30dd\u30b8\u30c8\u30ea\u306b\u53cd\u6620<\/strong><br><br><code>git commit -m\"\u30b3\u30e1\u30f3\u30c8\u3092\u6b8b\u305b\u308b\"<\/code><br><br><strong>git push\u3067git lab\u306b\u53cd\u6620<\/strong><br><br><code>git push<\/code><br><br>\u3053\u306e\u5f8c\u3001gitlab\u3078\u30a2\u30af\u30bb\u30b9\u3059\u308b\u3068\u3001\u30ea\u30dd\u30b8\u30c8\u30ea\u304c\u66f4\u65b0\u3055\u308c\u305f\u304b\u3068\u601d\u3044\u307e\u3059\u3002<br><br>\u30ea\u30dd\u30b8\u30c8\u30ea\u3092\u66f4\u65b0\u3057\u305f\u3044\u5834\u5408\u306f\u4e0b\u8a18\u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u3044\u307e\u3059<br><br><code>git pull<\/code><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6065\u305a\u304b\u3057\u3044\u8a71\u3001gitlab\u3092\u4eca\u307e\u3067\u5229\u7528\u3057\u3066\u3044\u305f\u3082\u306e\u306e\u3001\u3088\u304f\u308f\u304b\u3089\u306a\u304b\u3063\u305f\u306e\u3067\u3001\u30d5\u30a1\u30a4\u30eb\u3092\u30b3\u30d4\u30fc\u3057\u3066\u3001CUI\u4e0a\u3067\u30da\u30fc\u30b9\u30c8\u3057\u3066\u305d\u306e\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u4f7f\u3046\u3063\u3066\u65b9\u6cd5\u3067\u904b\u7528\u3057\u3066\u3044\u307e\u3057\u305f\u3002\u6700\u8fd1\u306f\u30c1\u30fc\u30e0\u3067gitlab\u3092\u901a\u3057\u3066\u958b\u767a\u3059\u308b\u3053\u3068\u3067g <a href=\"https:\/\/roroing.net\/?p=638\" class=\"more-link\">...<span class=\"screen-reader-text\"> \"GitLab\u3068git\u30b3\u30de\u30f3\u30c9\"<\/span> \u3092\u7d9a\u3051\u3066\u8aad\u3080<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[15],"tags":[],"class_list":{"0":"post-638","1":"post","2":"type-post","3":"status-publish","4":"format-standard","6":"category-git","7":"h-entry","8":"hentry","9":"h-as-article"},"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/roroing.net\/index.php?rest_route=\/wp\/v2\/posts\/638","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/roroing.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/roroing.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/roroing.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/roroing.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=638"}],"version-history":[{"count":6,"href":"https:\/\/roroing.net\/index.php?rest_route=\/wp\/v2\/posts\/638\/revisions"}],"predecessor-version":[{"id":647,"href":"https:\/\/roroing.net\/index.php?rest_route=\/wp\/v2\/posts\/638\/revisions\/647"}],"wp:attachment":[{"href":"https:\/\/roroing.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=638"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/roroing.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=638"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/roroing.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=638"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}