<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>yuzu441</author_name>
  <author_url>https://blog.hatena.ne.jp/yuzu441/</author_url>
  <blog_title>ゆずめも</blog_title>
  <blog_url>https://yuzu441.hateblo.jp/</blog_url>
  <categories>
    <anon>git</anon>
  </categories>
  <description>Gitで作業していると ブランチを切って作業することがありますよね？ そこでしたコミットを他のブランチへ １つのcommitとして、まとめてmergeしたいと思います。 という訳--suqashオプションを使ったmergeの例を まず現在の作業をコミットして $git checkout &lt;リポジトリ(基本 origin)&gt; &lt;mergeしたいブランチ&gt; (わかりやすくするため、＜＞で囲ってますが実行する再はいりません) checkoutコマンドでmergeしたいブランチへ移動します そして $git fetch &lt;リポジトリ&gt; &lt;更新内容があるブランチ&gt; $git log fetch_head…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fyuzu441.hateblo.jp%2Fentry%2F2014%2F02%2F06%2F090208&quot; title=&quot;他のブランチのコミットをまとめてmergeする - ゆずめも&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-02-06 09:02:08</published>
  <title>他のブランチのコミットをまとめてmergeする</title>
  <type>rich</type>
  <url>https://yuzu441.hateblo.jp/entry/2014/02/06/090208</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
