<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>shigemk2</author_name>
  <author_url>https://blog.hatena.ne.jp/shigemk2/</author_url>
  <blog_title>by shigemk2</blog_title>
  <blog_url>https://www.shigemk2.com/</blog_url>
  <categories>
    <anon>Git</anon>
    <anon>Emacs</anon>
  </categories>
  <description>qiita.com 表題のことをしたかったんですが、ってやってもうまくいかないんです。うまく説明できないんですが、git diffはlessっぽい挙動で、awkで拾えないけど、git statusだと結果は標準出力で送られるので、awkで拾えるって言う感じっぽい。 $ git diff | peco | awk '{print $2}' なので、git statusを使うのがよろし。 git status --short | peco | awk '{print $2}' それで、このように書いたら、ファイルを選択してうまいぐあいにEmacsにアクセスできます。 $ git status --…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.shigemk2.com%2Fentry%2Fpeco_git&quot; title=&quot;【追記あり】pecoを利用して、gitで変更のあったファイルにEmacsでアクセスする - by shigemk2&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>2015-12-23 12:12:49</published>
  <title>【追記あり】pecoを利用して、gitで変更のあったファイルにEmacsでアクセスする</title>
  <type>rich</type>
  <url>https://www.shigemk2.com/entry/peco_git</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
