<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>am1tanaka</author_name>
  <author_url>https://blog.hatena.ne.jp/am1tanaka/</author_url>
  <blog_title>tanaka's Programming Memo</blog_title>
  <blog_url>https://am1tanaka.hatenablog.com/</blog_url>
  <categories>
    <anon>EGit</anon>
    <anon>Git</anon>
    <anon>GitHub</anon>
  </categories>
  <description>WindowsPCとMacの双方で作業していた際に、GitHubへのPUSHに失敗して、色々と試しているうちにリポジトリが混乱した。その原因と対策をまとめる。 原因 不用意なチェックアウト チェックアウトをすると、ワーキングツリーもあわせて切り替わると勘違いしていた。コミットしていない変更がワーキングツリーにある場合、stash(一時的に退避させる領域)に変更を退避させないと、切り替え先のブランチに変更がマージされてしまう。チェックアウトする前にコミットすること！ リポジトリが混乱した後の収拾方法 TortoiseGitを利用すると操作しやすい。 サーバからpull TortoiseGitのロ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fam1tanaka.hatenablog.com%2Fentry%2F2014%2F07%2F22%2F232813&quot; title=&quot;PUSH失敗からのリポジトリの操作ミス - tanaka&amp;#39;s Programming Memo&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>2014-07-22 23:28:13</published>
  <title>PUSH失敗からのリポジトリの操作ミス</title>
  <type>rich</type>
  <url>https://am1tanaka.hatenablog.com/entry/2014/07/22/232813</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
