<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>gsf_zero1</author_name>
  <author_url>https://blog.hatena.ne.jp/gsf_zero1/</author_url>
  <blog_title>いろいろ備忘録日記</blog_title>
  <blog_url>https://devlights.hatenablog.com/</blog_url>
  <categories>
    <anon>git</anon>
  </categories>
  <description>関連記事 概要 参考情報 関連記事 GitHub - devlights/blog-summary: ブログ「いろいろ備忘録日記」のまとめ 概要 以下、自分用のメモです。よく忘れるのでここにメモメモ。。。 gitで git switch -c branch-a って切った後に作業してコミットしてプッシュするときに git push -u origin branch-a って指定するのが面倒くさい。ブランチ名が長い場合に特に面倒くさいってときは git push -u origin HEAD ってやると今のブランチがプッシュされます。 プルリクをマージした後に git fetch origin …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fdevlights.hatenablog.com%2Fentry%2F2025%2F01%2F06%2F073000&quot; title=&quot;gitでブランチをプッシュしてその後削除するときにブランチ名を指定したくない (HEAD, @{-1}) - いろいろ備忘録日記&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>2025-01-06 07:30:00</published>
  <title>gitでブランチをプッシュしてその後削除するときにブランチ名を指定したくない (HEAD, @{-1})</title>
  <type>rich</type>
  <url>https://devlights.hatenablog.com/entry/2025/01/06/073000</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
