LoginSignup
4
1

More than 1 year has passed since last update.

Gitのリモートブランチ削除(作成したPRを削除したい時など)

Last updated at Posted at 2021-06-29

Gitで誤ったPRを上げた時、シンプルにリモートブランチを削除したい時などに使用。

前提

Gitインストール済み
GitHubサインアップ済み

❗注意

コマンドをコピペして実行する際、コマンドの最後に余分なスペースが入らないよう注意しましょう。
コマンドが強制実行される場合があります。実行の際は慎重に。

目次

実行コード

Git リモートブランチ削除

★以下続編あり
参考記事

実行コード

Git リモートブランチ削除

ターミナルにて実行

git push --delete origin 対象ブランチ名

★以下続編あり

Gitのリモートブランチ削除実行前に実験したこと(Git・Linuxコマンド、GitHubの超基本操作)

参考記事

4
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
4
1