<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>nakahashi_h</author_name>
  <author_url>https://blog.hatena.ne.jp/nakahashi_h/</author_url>
  <blog_title>websandbag ブログ</blog_title>
  <blog_url>https://blog.websandbag.com/</blog_url>
  <categories>
    <anon>git</anon>
  </categories>
  <description>gitを触っていて、git statusで確認後、一個一個変更点を対象にするのは面倒です。 (初回コミットでも無いのに変更ファイルが多すぎる状態になるのは、また別の問題として…) 今回は、一括でコミットの変更を操作する方法についてお伝えします。 全ての変更をバージョン管理対象に加える $ cd &lt;管理ディレクトリ&gt; $ git add . 全ての変更をバージョン管理対象に外す 一度、git addした変更を最初に戻す方法です。 今回は一番新しいコミットから実行するので、`HEADとしていますが、もし戻したいコミットがある場合はコミットのハッシュに差し替えてください。 $ cd &lt;管理ディレクト…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.websandbag.com%2Fentry%2F2018%2F02%2F25%2F130418&quot; title=&quot;【git】全ての変更をバージョン管理の対象に加える・外す - websandbag ブログ&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>https://cdn-ak.f.st-hatena.com/images/fotolife/n/nakahashi_h/20180225/20180225130559.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2018-02-25 13:04:18</published>
  <title>【git】全ての変更をバージョン管理の対象に加える・外す</title>
  <type>rich</type>
  <url>https://blog.websandbag.com/entry/2018/02/25/130418</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
