<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>uc_ebuc</author_name>
  <author_url>https://blog.hatena.ne.jp/uc_ebuc/</author_url>
  <blog_title>雑多なブログ</blog_title>
  <blog_url>https://cufl.hateblo.jp/</blog_url>
  <categories>
    <anon>Git</anon>
  </categories>
  <description>差分を出力し、それを別のGitリポジトリにパッチとして適用するという事をやった。 なんでそんな事をやったのかというと、サーバ上でアプリを設置した後、実環境用に微調整した内容をリモートのGitリポジトリにプッシュしたかったのだけど、ネットワーク上の問題でプッシュできないから、その代わりの手段として差分のパッチ適用を考えたのだよね。 やり方はいたってシンプルで、git diff で差分を出力して、それをリモートにプッシュ可能な環境にあるGitリポジトリにパッチとして適用してコミットしてプッシュしただけ。 パッチ適用は、git apply patch.txt とすればOK。patch.txtにはgi…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fcufl.hateblo.jp%2Fentry%2F2020%2F04%2F13%2F000621&quot; title=&quot;Gitで差分出力して、パッチとして適用する。 - 雑多なブログ&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>2020-04-13 00:06:21</published>
  <title>Gitで差分出力して、パッチとして適用する。</title>
  <type>rich</type>
  <url>https://cufl.hateblo.jp/entry/2020/04/13/000621</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
