<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>kikiki-kiki</author_name>
  <author_url>https://blog.hatena.ne.jp/kikiki-kiki/</author_url>
  <blog_title>かもメモ</blog_title>
  <blog_url>https://chaika.hatenablog.com/</blog_url>
  <categories>
    <anon>git</anon>
    <anon>Tips</anon>
  </categories>
  <description>複数人で同じブランチに手を入れていて、手元のブランチで変更をコミットして push しようとしたらリモートのブランチが force push とかで先に進んでそのまま push できない状態になっている時の対処方法のメモ --rebase オプションを付けて pull する $ git pull --rebase origin &lt;branch_name&gt; --rebase オプションを付けてpullするとリモートのブランチを取り込んで rebase できる。 つまり、これが 👇こうなる rebase なのでコンフリクトすることもあるけど、手元のブランチ名を変えて、リモートブランチを check…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fchaika.hatenablog.com%2Fentry%2F2020%2F02%2F21%2F083000&quot; title=&quot;Git リモートのブランチが先に進んでpushできなくなっているのをどうにかしたい。 - かもメモ&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://images-fe.ssl-images-amazon.com/images/I/41k7xonwpdL._SL160_.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2020-02-21 08:30:00</published>
  <title>Git リモートのブランチが先に進んでpushできなくなっているのをどうにかしたい。</title>
  <type>rich</type>
  <url>https://chaika.hatenablog.com/entry/2020/02/21/083000</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
