LoginSignup
1
1

More than 5 years have passed since last update.

[git] 一つ前のブランチに切り替えるコマンド

Posted at

一つ前のブランチに切り替えるコマンドです。

git checkout -

現在のブランチが branch_A、直前のブランが branch_Bだとしますと、
下記のようにこの2つのブランチの間に行ったり来たりしたい時に便利なコマンドです。

Kobito.lHjAE8.png

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