<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Git on Bigshans&#39; Blog</title>
    <link>https://bigshans.github.io/categories/git/</link>
    <description>Recent content in Git on Bigshans&#39; Blog</description>
    <generator>Hugo</generator>
    <language>en</language>
    <copyright>bigshans</copyright>
    <lastBuildDate>Mon, 27 Sep 2021 11:57:02 +0800</lastBuildDate>
    <atom:link href="https://bigshans.github.io/categories/git/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>如何合并 Git 无关历史</title>
      <link>https://bigshans.github.io/post/git-merge-unrealted-histories/</link>
      <pubDate>Mon, 27 Sep 2021 11:57:02 +0800</pubDate>
      <guid>https://bigshans.github.io/post/git-merge-unrealted-histories/</guid>
      <description>&lt;p&gt;由于每次线上建仓库总会给我留一个文件，导致我仓库连接远程总是提示无法合并无关代码。这里就写统一写一下这个问题如何解决。&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code class=&#34;language-shell&#34;&gt;git pull origin master --allow-unrelated-histories &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;&lt;code&gt;--allow-unrelated-histories&lt;/code&gt; 用于强制合并无关历史。&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
