{"id":8375,"date":"2019-12-14T20:05:59","date_gmt":"2019-12-14T11:05:59","guid":{"rendered":"http:\/\/www.code-magagine.com\/?p=8375"},"modified":"2023-05-27T18:58:16","modified_gmt":"2023-05-27T09:58:16","slug":"%e3%80%90vscode%e3%80%91git%e3%81%a8%e3%81%ae%e9%80%a3%e6%90%ba%e3%81%ab%e9%96%a2%e3%81%99%e3%82%8b%e7%9f%a5%e8%ad%98","status":"publish","type":"post","link":"http:\/\/www.code-magagine.com\/?p=8375","title":{"rendered":"\u3010VSCode\u3011Git\u3068\u306e\u9023\u643a\u306b\u95a2\u3059\u308b\u77e5\u8b58"},"content":{"rendered":"<h2>Visual Studio Code\u3068Git\u3068\u306e\u9023\u643a\u306b\u3064\u3044\u3066<\/h2>\n<p>VSCode\u306fGit\u30ea\u30dd\u30b8\u30c8\u30ea\u304c\u4f5c\u6210\u3055\u308c\u3066\u3044\u308b\u30d5\u30a9\u30eb\u30c0\u306f\u81ea\u52d5\u3067Git\u7ba1\u7406\u5bfe\u8c61\u30d5\u30a9\u30eb\u30c0\u3068\u3057\u3066\u8a8d\u8b58\u3057\u307e\u3059\u3002git\u30b3\u30de\u30f3\u30c9\u3092UI\u7684\u306b\u5b9f\u884c\u3059\u308b\u3053\u3068\u3082\u53ef\u80fd\u3067\u3059\u3002<\/p>\n<h2>\u30d5\u30a9\u30eb\u30c0\u3092Git\u7ba1\u7406\u5bfe\u8c61\u3068\u3059\u308b\u306b\u306f\uff1f<\/h2>\n<p>\u300c\u30bd\u30fc\u30b9\u7ba1\u7406\u30d3\u30e5\u30fc\u300d\u3067\u300c\uff0b\u300d\u30dc\u30bf\u30f3\u3092\u62bc\u305b\u3070\u300cgit init\u300d\u30b3\u30de\u30f3\u30c9\uff08\u30ea\u30dd\u30b8\u30c8\u30ea\u306e\u4f5c\u6210\u30b3\u30de\u30f3\u30c9\uff09\u3092\u5b9f\u884c\u3059\u308b\u306e\u3068\u540c\u3058\u64cd\u4f5c\u3092VSCode\u304c\u5b9f\u65bd\u3057\u3066\u304f\u308c\u307e\u3059\u3002<\/p>\n<h2>\u300c\u30bd\u30fc\u30b9\u7ba1\u7406\u30d3\u30e5\u30fc\u300d\u306e\u30d5\u30a1\u30a4\u30eb\u64cd\u4f5c<\/h2>\n<h3>\u30d5\u30a1\u30a4\u30eb\u306e\u30ef\u30fc\u30af\u30c4\u30ea\u30fc\u5185\u3067\u306e\u72b6\u614b<\/h3>\n<p>\u300cU\u300d\u300cA\u300d\u300cM\u300d\u300cD\u300d\u306e4\u3064\u306e\u72b6\u614b\u304c\u30d5\u30a1\u30a4\u30eb\u306e\u53f3\u5074\u306b\u8868\u793a\u3055\u308c\u307e\u3059\u3002<\/p>\n<ul>\n<li>Untracked(Git\u672a\u7ba1\u7406\uff09<\/li>\n<li>Added\uff08\u30b9\u30c6\u30fc\u30b8\u30f3\u30b0\u3055\u308c\u305f\uff09<\/li>\n<li>Modifed\uff08\u5909\u66f4\u3055\u308c\u305f\uff09<\/li>\n<li>Deleted\uff08\u524a\u9664\u3055\u308c\u305f\uff09<\/li>\n<\/ul>\n<h3>\uff0b\u30a2\u30a4\u30b3\u30f3<\/h3>\n<p>\u30b9\u30c6\u30fc\u30b8\u30f3\u30b0\u30a8\u30ea\u30a2\u306b\u8ffd\u52a0\u3057\u307e\u3059\u3002\uff08\u300cgit add\u300d\u30b3\u30de\u30f3\u30c9\u3068\u540c\u3058\u64cd\u4f5c\u306b\u306a\u308a\u307e\u3059\u3002\uff09\u3001\u30d5\u30a1\u30a4\u30eb\u306e\u72b6\u614b\u306f<span style=\"color: #ff0000;\"><strong>\u300cA(Added)\u300d<\/strong><\/span>\u306b\u5909\u5316\u3057\u307e\u3059\u3002<\/p>\n<h3>\u30b3\u30df\u30c3\u30c8\u30e1\u30c3\u30bb\u30fc\u30b8\u30a8\u30ea\u30a2<\/h3>\n<p>\u30b3\u30df\u30c3\u30c8\u30e1\u30c3\u30bb\u30fc\u30b8\u306e\u5165\u529b\u53ca\u3073\u30b3\u30df\u30c3\u30c8\u304c\u3067\u304d\u307e\u3059\u3002\u30e1\u30c3\u30bb\u30fc\u30b8\u3092\u5165\u529b\u3057\u305f\u4e0a\u3067<span style=\"color: #ff0000;\"><strong>\u300cCommand + Enter\u300d<\/strong><\/span>\u3092\u5165\u529b\u3059\u308b\u3053\u3068\u3067\u30b3\u30df\u30c3\u30c8\u306b\u306a\u308a\u307e\u3059\u3002\u30b3\u30df\u30c3\u30c8\u5f8c\u306f\u30b9\u30c6\u30fc\u30b8\u30f3\u30b0\u30a8\u30ea\u30a2\u306b\u8ffd\u52a0\u3057\u305f<span style=\"color: #ff0000;\"><strong>\u300cAdd\u300d\u72b6\u614b\u306e\u30d5\u30a1\u30a4\u30eb\u306f\u300c\u30c4\u30ea\u30fc\u7ba1\u7406\u30d3\u30e5\u30fc\u300d\u304b\u3089\u306f\u6d88\u3048\u307e\u3059\u3002<\/strong><\/span><\/p>\n<h2>\u65b0\u3057\u3044\u30d6\u30e9\u30f3\u30c1\u3092\u4f5c\u6210\u3059\u308b\u3002<\/h2>\n<h3>\u73fe\u5728\u306e\u30d6\u30e9\u30f3\u30c1\u304b\u3089\u65b0\u3057\u304f\u30d6\u30e9\u30f3\u30c1\u3092\u4f5c\u6210\u3059\u308b\u3002<\/h3>\n<p>\u300c\u30b9\u30c6\u30fc\u30bf\u30b9\u30d0\u30fc\u300d\u306e\u300c\u30d6\u30e9\u30f3\u30c1\u540d(master\uff09\u300d\u3092\u30af\u30ea\u30c3\u30af\u3059\u308c\u3070\u30af\u30ea\u30c3\u30af\u3057\u305f\u30d6\u30e9\u30f3\u30c1\u3092\u5143\u306b\u65b0\u3057\u3044\u30d6\u30e9\u30f3\u30c1\u3092\u4f5c\u6210\u3059\u308b\u3053\u3068\u304c\u53ef\u80fd\u3067\u3059\u3002\u300cgit checkout\u300d\u30b3\u30de\u30f3\u30c9\u3068\u540c\u3058\u52b9\u679c\u306b\u306a\u308a\u307e\u3059\u3002\u307e\u305f\u5225\u306e\u30d6\u30e9\u30f3\u30c1\u3092\u6307\u5b9a\u3059\u308b\u3053\u3068\u3082\u53ef\u80fd\u3067\u3059\u3002<\/p>\n<h2>\u30ea\u30e2\u30fc\u30c8\u30ea\u30dd\u30b8\u30c8\u30ea\u3092\u8ffd\u52a0\u3059\u308b\u3002<\/h2>\n<p>\u30b3\u30de\u30f3\u30c9\u30d1\u30ec\u30c3\u30c8\u3092\u958b\u304d\u4e0b\u8a18\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"lang:default decode:true\">remo add<\/pre>\n<p>\u6b21\u306b\u4e0b\u8a18\u306e\u624b\u9806\u3092\u5b9f\u65bd\u3059\u308c\u3070\u30ea\u30e2\u30fc\u30c8\u30ea\u30dd\u30b8\u30c8\u30ea\u306f\u4f5c\u6210\u3067\u304d\u307e\u3059\u3002\uff08\u4e8b\u524d\u306b\u30ea\u30e2\u30fc\u30c8\u30ea\u30dd\u30b8\u30c8\u30ea\u306f\u4f5c\u6210\u3057\u3066\u304a\u3044\u3066\u4e0b\u3055\u3044\uff09<\/p>\n<ol>\n<li>\u30ea\u30e2\u30fc\u30c8\u30ea\u30dd\u30b8\u30c8\u30ea\u540d\u306e\u547d\u540d<\/li>\n<li>\u30ea\u30e2\u30fc\u30c8\u30ea\u30dd\u30b8\u30c8\u30ea\u306eURL\uff08GitHub\u7b49\u306e\uff09\u3092\u5165\u529b<\/li>\n<\/ol>\n<h2>\u30ea\u30e2\u30fc\u30c8\u30ea\u30dd\u30b8\u30c8\u30ea\u306b\u30bd\u30fc\u30b9\u3092\u30d7\u30c3\u30b7\u30e5\u3059\u308b\u3002<\/h2>\n<p>\u300c\u30bd\u30fc\u30b9\u7ba1\u7406\u30d3\u30e5\u30fc\u300d\u306b\u3066\u300c\u30fb\u30fb\u30fb\u3000\u2192\u3000push to\u2025\u300d\u306b\u3066\u767b\u9332\u3057\u305f\u30ea\u30e2\u30fc\u30c8\u30ea\u30dd\u30b8\u30c8\u30ea\u3092\u9078\u629e\u3057\u307e\u3059\u3002<\/p>\n<h2>Mac\u3067VSCode\u3067\u8907\u6570\u306eGitHub\u30a2\u30ab\u30a6\u30f3\u30c8\u4f7f\u3044\u5206\u3051\u308b\u5834\u5408<\/h2>\n<p>\u8907\u6570\u30a2\u30ab\u30a6\u30f3\u30c8\u306e\u4f7f\u3044\u5206\u3051\u306f\u3067\u304d\u307e\u3059\u3002\u305f\u3060\u3001GitHub\u306e\u30a2\u30ab\u30a6\u30f3\u30c8\u3092\u4e00\u5ea6\u767b\u9332\u3057\u3066\u3057\u307e\u3046\u3068\u305d\u306eURL\u306b\u5bfe\u3057\u3066\u30ad\u30fc\u30c1\u30a7\u30fc\u30f3\u306e\u60c5\u5831\u304c\u767b\u9332\u3055\u308c\u3066\u3057\u307e\u3044\u5225\u30a2\u30ab\u30a6\u30f3\u30c8\u306eGitHub\u3067\u30d7\u30c3\u30b7\u30e5\u3057\u3088\u3046\u3068\u3057\u3066\u3082\u30a8\u30e9\u30fc\u306b\u306a\u308a\u307e\u3059\u3002<span style=\"color: #ff0000;\"><strong>Mac\u306e\u300c\u30ad\u30fc\u30c1\u30a7\u30fc\u30f3\u30a2\u30af\u30bb\u30b9\u300d\u306e\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3067\u9069\u5207\u306a\u30a2\u30ab\u30a6\u30f3\u30c8\u306b\u66f8\u304d\u63db\u3048\u308b\u3088\u3046\u306b\u3057\u307e\u3057\u3087\u3046\u3002<\/strong><\/span><\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-8391\" src=\"http:\/\/www.code-magagine.com\/wp-content\/uploads\/2019\/12\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2019-12-15-0.17.27.png\" alt=\"\" width=\"1096\" height=\"996\" srcset=\"http:\/\/www.code-magagine.com\/wp-content\/uploads\/2019\/12\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2019-12-15-0.17.27.png 1096w, http:\/\/www.code-magagine.com\/wp-content\/uploads\/2019\/12\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2019-12-15-0.17.27-300x273.png 300w, http:\/\/www.code-magagine.com\/wp-content\/uploads\/2019\/12\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2019-12-15-0.17.27-768x698.png 768w, http:\/\/www.code-magagine.com\/wp-content\/uploads\/2019\/12\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2019-12-15-0.17.27-1024x931.png 1024w\" sizes=\"(max-width: 1096px) 100vw, 1096px\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"Visual Studio Code\u3068Git\u3068\u306e\u9023\u643a\u306b\u3064\u3044\u3066 VSCode\u306fGit\u30ea\u30dd\u30b8\u30c8\u30ea\u304c\u4f5c\u6210\u3055\u308c\u3066\u3044\u308b\u30d5\u30a9\u30eb\u30c0\u306f\u81ea\u52d5\u3067Git\u7ba1\u7406\u5bfe\u8c61\u30d5\u30a9\u30eb\u30c0\u3068\u3057\u3066\u8a8d\u8b58\u3057\u307e\u3059\u3002git\u30b3\u30de\u30f3\u30c9\u3092UI\u7684\u306b\u5b9f\u884c\u3059\u308b\u3053\u3068\u3082\u53ef\u80fd\u3067\u3059\u3002 \u30d5\u30a9\u30eb [&hellip;]","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[32,25],"tags":[],"_links":{"self":[{"href":"http:\/\/www.code-magagine.com\/index.php?rest_route=\/wp\/v2\/posts\/8375"}],"collection":[{"href":"http:\/\/www.code-magagine.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.code-magagine.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.code-magagine.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.code-magagine.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=8375"}],"version-history":[{"count":12,"href":"http:\/\/www.code-magagine.com\/index.php?rest_route=\/wp\/v2\/posts\/8375\/revisions"}],"predecessor-version":[{"id":20189,"href":"http:\/\/www.code-magagine.com\/index.php?rest_route=\/wp\/v2\/posts\/8375\/revisions\/20189"}],"wp:attachment":[{"href":"http:\/\/www.code-magagine.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=8375"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.code-magagine.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=8375"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.code-magagine.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=8375"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}