{"id":5077,"date":"2022-04-04T15:04:28","date_gmt":"2022-04-04T06:04:28","guid":{"rendered":"https:\/\/www.chihayafuru.jp\/tech\/?p=5077"},"modified":"2023-06-30T14:32:26","modified_gmt":"2023-06-30T05:32:26","slug":"wslgit-windows%e8%b3%87%e6%a0%bc%e6%83%85%e5%a0%b1%e3%83%9e%e3%83%8d%e3%83%bc%e3%82%b8%e3%83%a3%e3%82%92%e3%81%a4%e3%81%8b%e3%81%86","status":"publish","type":"post","link":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/archives\/5077","title":{"rendered":"[WSL] Windows\u8cc7\u683c\u60c5\u5831\u30de\u30cd\u30fc\u30b8\u30e3\u3092\u3064\u304b\u3046"},"content":{"rendered":"<p>WSL2 (Windows Subsystem for Linux) \u306e\u30a2\u30ab\u30a6\u30f3\u30c8\uff0f\u30d1\u30b9\u30ef\u30fc\u30c9\u7ba1\u7406\u306bWindows\u8cc7\u683c\u60c5\u5831\u30de\u30cd\u30fc\u30b8\u30e3(Credential Manager)\u3092\u4f7f\u3046\u65b9\u6cd5\u3002<\/p>\n<p><!--more--><\/p>\n<h3>\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u8a2d\u5b9a<\/h3>\n<h4>git 2.36.1.windows.1 \u4ee5\u524d<\/h4>\n<pre class=\"lang:default highlight:0 decode:true \" >git config --global credential.helper \"\/mnt\/c\/Program\\ Files\/Git\/mingw64\/libexec\/git-core\/git-credential-manager.exe\" <\/pre>\n<h4>git 2.36.1.windows.1 \u4ee5\u964d<\/h4>\n<pre class=\"lang:default highlight:0 decode:true \" >git config --global credential.helper \"\/mnt\/c\/Program\\ Files\/Git\/mingw64\/bin\/git-credential-manager-core.exe\"<\/pre>\n<h4>git 2.39.0.windows.1 \u4ee5\u964d<\/h4>\n<pre class=\"lang:default highlight:0 decode:true \" >git config --global credential.helper \"\/mnt\/c\/Program\\ Files\/Git\/mingw64\/bin\/git-credential-manager.exe\"<\/pre>\n<h3>.gitconfig\u306e\u629c\u7c8b<\/h3>\n<pre class=\"lang:default highlight:0 decode:true \" >[credential]\r\n        helper =\r\n        helper = \"\/mnt\/c\/Program\\\\ Files\/Git\/mingw64\/bin\/git-credential-manager.exe\"<\/pre>\n<p>helper = (\u7a7a) \u306e\u4e00\u884c\u304c\u91cd\u8981\u3002<\/p>\n<p>&nbsp;<\/p>\n<h3>\u53c2\u8003\u30ea\u30f3\u30af<\/h3>\n<ul>\n<li><a href=\"https:\/\/docs.microsoft.com\/ja-jp\/windows\/wsl\/tutorials\/wsl-git\">[Microsoft] Linux \u7528 Windows \u30b5\u30d6\u30b7\u30b9\u30c6\u30e0\u3067 Git \u306e\u4f7f\u7528\u3092\u958b\u59cb\u3059\u308b<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>WSL2 (Windows Subsystem for Linux) \u306e\u30a2\u30ab\u30a6\u30f3\u30c8\uff0f\u30d1\u30b9\u30ef\u30fc\u30c9\u7ba1\u7406\u306bWindows\u8cc7\u683c\u60c5\u5831\u30de\u30cd\u30fc\u30b8\u30e3(Credential Manager)\u3092\u4f7f\u3046\u65b9\u6cd5\u3002<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[2,110],"class_list":["post-5077","post","type-post","status-publish","format-standard","hentry","category-memo","tag-git","tag-wsl"],"_links":{"self":[{"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/posts\/5077","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/comments?post=5077"}],"version-history":[{"count":12,"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/posts\/5077\/revisions"}],"predecessor-version":[{"id":6278,"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/posts\/5077\/revisions\/6278"}],"wp:attachment":[{"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/media?parent=5077"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/categories?post=5077"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/tags?post=5077"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}