<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>tokizuoh</author_name>
  <author_url>https://blog.hatena.ne.jp/tokizuoh/</author_url>
  <blog_title>カルボナーラ街道</blog_title>
  <blog_url>https://tokizuoh.hatenablog.com/</blog_url>
  <categories>
    <anon>dotfiles</anon>
  </categories>
  <description>github.com モチベーション git switchする際に、毎回事前にgit branchでswitch対象のbranchを調べている。手間なのと、曖昧検索ができるpecoを使って便利に自動化したい。 こうした alias gsp='git switch `git branch | peco | sed -e &quot;s/*//g&quot;`' 解説 まず、git branchをpecoで曖昧検索したものをgit switchに渡すようにする。 &gt; git switch `git branch | peco` ` ` はgrave accentと呼ばれ、zshの展開の文脈ではCommand Subs…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftokizuoh.hatenablog.com%2Fentry%2F2022%2F09%2F11%2F142531&quot; title=&quot;dotfiles盆栽記3: pecoを利用した曖昧git switch - カルボナーラ街道&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>2022-09-11 14:25:31</published>
  <title>dotfiles盆栽記3: pecoを利用した曖昧git switch</title>
  <type>rich</type>
  <url>https://tokizuoh.hatenablog.com/entry/2022/09/11/142531</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
