<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>shinshin86</author_name>
  <author_url>https://blog.hatena.ne.jp/shinshin86/</author_url>
  <blog_title>at backyard</blog_title>
  <blog_url>https://shinshin86.hateblo.jp/</blog_url>
  <categories>
    <anon>Git</anon>
    <anon>備忘録</anon>
  </categories>
  <description>gitでまだコミットしていない状態で、間違えて add してしまったときの対象方法について書いていく。 これが最適解かは分からないが、まあこれで良いか...ぐらいの温度感でこの対象法にたどりついたことは先に記載しておく。 (もしもっと良さげな方法があれば教えていただきたいです) まだ一つもコミットしていないプロジェクトで間違えてgit addしてしまった gitで間違えて add をすることが多々ある。 .gitignore に追加し忘れていたまま、git add してしまい、間違えて add したファイルを取り消す、といった形だ。 普段であれば下記のコマンドで指定したファイルを git ad…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fshinshin86.hateblo.jp%2Fentry%2F2022%2F03%2F20%2F083619&quot; title=&quot;gitでまだコミットしていない状態で、間違えて add してしまったときの対象方法 - at backyard&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-03-20 08:36:19</published>
  <title>gitでまだコミットしていない状態で、間違えて add してしまったときの対象方法</title>
  <type>rich</type>
  <url>https://shinshin86.hateblo.jp/entry/2022/03/20/083619</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
