<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>MiraiEngineer</author_name>
  <author_url>https://blog.hatena.ne.jp/MiraiEngineer/</author_url>
  <blog_title>未来エンジニア養成所Blog</blog_title>
  <blog_url>https://phoeducation.work/</blog_url>
  <categories>
    <anon>Git</anon>
    <anon>技術</anon>
  </categories>
  <description>ファイルへの変更を取り消そう 実際にやってみよう 参考図書 あわせて学習したい ファイルへの変更を取り消そう 今回はファイルへの変更を取り消すやり方についてです。 ファイルを色々変更して「どうなったのか分からない」「ぐちゃぐちゃになってしまった」「元の状態にまっさらに戻したい」そういう時のやり方です。 ファイルへの変更を取り消すコマンドは「git checkout」コマンドになります。 特定のファイルの変更を取り消したい場合は「git checkout -- &lt;ファイル名&gt;」。 ディレクトリ毎変更を取り消したい場合は「git checkout -- &lt;ディレクトリ名&gt;」と指定します。 全ファイ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fphoeducation.work%2Fentry%2F20210816%2F1629068280&quot; title=&quot;【Git&amp;amp;GitHub】ファイルへの変更を取り消そう（git checkoutコマンド） - 未来エンジニア養成所Blog&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://phoeducation.com/blog_img/BlogTitle(20210816).png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2021-08-16 07:58:00</published>
  <title>【Git&amp;GitHub】ファイルへの変更を取り消そう（git checkoutコマンド）</title>
  <type>rich</type>
  <url>https://phoeducation.work/entry/20210816/1629068280</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
