0
0

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 3 years have passed since last update.

ローカルにブランチを作らずにリモートブランチを確認する

Posted at

概要

ローカルにブランチを作成せずにリモートブランチを確認するコマンド

用途

コードレビューや軽く動作確認したい時などブランチを作成するほどでもないけど、リモートブランチの内容を確認したいとき

コマンド

git checkout origin/リモートブランチ名
例) git checkout origin/development

Gitのバージョンが2.23以降

git switch -d origin/リモートブランチ名
例) git switch -d  origin/development
0
0
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
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?