<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>threeMonths</author_name>
  <author_url>https://blog.hatena.ne.jp/threeMonths/</author_url>
  <blog_title>threeMonthsの日記</blog_title>
  <blog_url>https://threemonths.hatenadiary.org/</blog_url>
  <categories>
  </categories>
  <description>コミットメッセージ編集して保存して終了しようとした刹那 this operation must be run in a work tree というメッセージが出て終了する。コミットはされない。なんでだろなーと思ったけど、vimrcにある設定のせいだった。コピペして便利になって喜んで終わりというレベルだから手間取る。 &quot; bufferの場所にカレントディレクトリを合わせる augroup My autocmd BufEnter * if bufname(&quot;&quot;) !~ &quot;^\[A-Za-z0-9\]*://&quot; | lcd %:p:h | endif augroup END コミットメッセージ編集時…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fthreemonths.hatenadiary.org%2Fentry%2F20101011%2F1286764059&quot; title=&quot;git-vimでコミット時に怒られる - threeMonthsの日記&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></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2010-10-11 11:27:39</published>
  <title>git-vimでコミット時に怒られる</title>
  <type>rich</type>
  <url>https://threemonths.hatenadiary.org/entry/20101011/1286764059</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
