<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>neko3cs</author_name>
  <author_url>https://blog.hatena.ne.jp/neko3cs/</author_url>
  <blog_title>ねこさんのぶろぐ</blog_title>
  <blog_url>https://blog.neko3cs.net/</blog_url>
  <categories>
    <anon>git</anon>
    <anon>Windows</anon>
    <anon>備忘録</anon>
  </categories>
  <description>よく調べずに git のバージョンを更新してハマりました。 解決方法は単純だったので忘れないように備忘録しておこうと思います。 起こったこと いつものように git status を実行したところ以下のようなエラーが表示されました。 $ git status fatal: unsafe repository ('C:/src/XXXXXXXXXXXXXXXXXX' is owned by someone else) To add an exception for this directory, call: git config --global --add safe.directory C:/…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.neko3cs.net%2Fentry%2Ferror-git-fatal-unsafe-repository&quot; title=&quot;git で &amp;quot;fatal: unsafe repository&amp;quot; というエラーが出た - ねこさんのぶろぐ&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/n/neko3cs/20220621/20220621175457.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2022-06-21 18:08:04</published>
  <title>git で &quot;fatal: unsafe repository&quot; というエラーが出た</title>
  <type>rich</type>
  <url>https://blog.neko3cs.net/entry/error-git-fatal-unsafe-repository</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
