<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>hitode909</author_name>
  <author_url>https://blog.hatena.ne.jp/hitode909/</author_url>
  <blog_title>hitode909の日記</blog_title>
  <blog_url>https://blog.sushi.money/</blog_url>
  <categories>
  </categories>
  <description>Gitで，いまどのブランチにいるか確認してコピーなどすることがよくあるので，aliasを作った． ~/.gitconfigの[alias]に以下を追加する． current-branch = &quot;!sh -c \&quot;git branch | grep '*' | awk '{ print \\$2 }' \&quot;&quot; git current-branchすると，いまcheckoutしてるブランチを表示する． % git checkout master Switched to branch 'master' % git current-branch master % git checkout kuruku…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.sushi.money%2Fentry%2F20100730%2F1280498857&quot; title=&quot; git current-branchっていうaliasを考えた - hitode909の日記&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-07-30 23:07:37</published>
  <title> git current-branchっていうaliasを考えた</title>
  <type>rich</type>
  <url>https://blog.sushi.money/entry/20100730/1280498857</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
