<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>ohshige</author_name>
  <author_url>https://blog.hatena.ne.jp/ohshige/</author_url>
  <blog_title>技術とかボドゲとかそんな話をしたい</blog_title>
  <blog_url>https://ohshige.hatenablog.com/</blog_url>
  <categories>
    <anon>Git</anon>
  </categories>
  <description>しばらく前にGitの新しいバージョンがリリースされ、そこで git switch と git restore なるコマンドが使えるようになったことは知っていました。 しかし、これまでの慣れというものがあり、どうしても git checkout を使ってしまっていました。 先日、ふと新しい環境（つまり新しいGit）を操作していて、 git status を打つと以下のように表示されました。 $ git status On branch hoge-branch Changes not staged for commit: (use &quot;git add &lt;file&gt;...&quot; to update wha…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fohshige.hatenablog.com%2Fentry%2F2019%2F12%2F16%2F190000&quot; title=&quot;Gitの新しいコマンドのswitchとrestoreに慣れたい - 技術とかボドゲとかそんな話をしたい&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>2019-12-16 19:00:00</published>
  <title>Gitの新しいコマンドのswitchとrestoreに慣れたい</title>
  <type>rich</type>
  <url>https://ohshige.hatenablog.com/entry/2019/12/16/190000</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
