<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>abc10946</author_name>
  <author_url>https://blog.hatena.ne.jp/abc10946/</author_url>
  <blog_title>ABC10946の日記</blog_title>
  <blog_url>https://abc10946.hateblo.jp/</blog_url>
  <categories>
  </categories>
  <description>自分は普段wsl2上で作業しているのですが、会社の先輩からdevcontainerはいいぞと教えていただいたので試してみました。 しかし、git pushはおろかgit commitすらもできない状況で困っていました。 結論は、wsl2上のssh-agentやgit configを引っ張ってくるにはdevcontainerの設定をしないといけないということでした。 Dev&gt;Containers:Execute In WSLを有効化 Dev&gt;Containers:Execute In WSLDistroでディストリビューションを指定します。 これでOKです。 github.com</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fabc10946.hateblo.jp%2Fentry%2F2024%2F02%2F25%2F223611&quot; title=&quot;devcontainerでssh-addやgit configが引っ張ってこれない問題 on WSL2 windows11 - ABC10946の日記&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>https://cdn-ak.f.st-hatena.com/images/fotolife/a/abc10946/20240225/20240225223216.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2024-02-25 22:36:11</published>
  <title>devcontainerでssh-addやgit configが引っ張ってこれない問題 on WSL2 windows11</title>
  <type>rich</type>
  <url>https://abc10946.hateblo.jp/entry/2024/02/25/223611</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
