<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>kamatimaru</author_name>
  <author_url>https://blog.hatena.ne.jp/kamatimaru/</author_url>
  <blog_title>delhi09の勉強日記</blog_title>
  <blog_url>https://kamatimaru.hatenablog.com/</blog_url>
  <categories>
    <anon>Git</anon>
  </categories>
  <description>今まで、新規ブランチのpush時に一旦git pushして、以下のようなエラーが出て怒られてからgit push --set-upstream origin xxxをコピペして実行するということをしていました。 fatal: The current branch xxx has no upstream branch. To push the current branch and set the remote as upstream, use git push --set-upstream origin xxx 以下のコマンドを実行して設定しておくと、新規ブランチでもgit push xxxだけ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkamatimaru.hatenablog.com%2Fentry%2F2026%2F03%2F14%2F184015&quot; title=&quot;新規ブランチのpush時に--set-upstream origin xxxを省略する - delhi09の勉強日記&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>2026-03-14 18:40:15</published>
  <title>新規ブランチのpush時に--set-upstream origin xxxを省略する</title>
  <type>rich</type>
  <url>https://kamatimaru.hatenablog.com/entry/2026/03/14/184015</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
