7
5

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

リモートブランチが削除できない時に関して

Last updated at Posted at 2015-10-02

1 削除したいリモートブランチを確認

$ git branch --remote

origin/master
sqale/master <=コレを削除したい

2 リモートブランチを削除

$ git push --delete sqale master

結果 出来ない、、なんで??

Sorry, but this application is no longer available.
fatal: Could not read from remote repository.

ごめんだけど、このアプリはもう利用出来ないよ.
致命的なエラー情報: このリモートリポジトリは読み込め無いよ

Please make sure you have the correct access rights(アクセス権)
and the repository exists.

正しいアクセス権を持っていることと、
リポジトリが存在することを確認してください

ログレベルに関して

logger.fatal "致命的なエラー情報"
logger.error "エラー情報"
logger.warn  "警告情報"
logger.info  "お知らせ情報"
logger.debug "デバッグ情報"

3 コマンドの変更を行なう。

$ git branch --remote -d sqale/master

結果

Deleted remote-tracking branch sqale/master (was 47fecd6).

成功!!

7
5
1

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
7
5

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?