<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>tack41tu</author_name>
  <author_url>https://blog.hatena.ne.jp/tack41tu/</author_url>
  <blog_title>一人情シスのつぶやき</blog_title>
  <blog_url>https://tack41tu.hatenablog.com/</blog_url>
  <categories>
    <anon>Git</anon>
  </categories>
  <description>git管理していて、ローカルリポジトリでブランチ切り忘れてmasterブランチで作業、ローカルcommitまでして気付いた。 このままpushしても、当然リモートのmasterブランチにダイレクトにpushはできず、弾かれる。 PRも出せない、と思っていたが。 pushでは、ローカルとリモートの両方のブランチを指定できる。 git push origin &lt;local_branch&gt;:&lt;remote_branch&gt; local_branchにmaster, remote_branchに本来切ろうと思っていたブランチ名を指定し、そのブランチでPRを出す。</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftack41tu.hatenablog.com%2Fentry%2F2018%2F09%2F13%2F202850&quot; title=&quot;うっかりmasterリポジトリでcommit - 一人情シスのつぶやき&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>2018-09-13 20:28:50</published>
  <title>うっかりmasterリポジトリでcommit</title>
  <type>rich</type>
  <url>https://tack41tu.hatenablog.com/entry/2018/09/13/202850</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
