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

Sourcetreeで、最新ではなく、特定のコミットから新規ブランチを切りたい場合

Posted at

切りたいブランチ(今回はdevelop)に切り替えて、

スクリーンショット 2016-08-08 11.53.07.png

切りたい特定のコミットを選択

スクリーンショット 2016-08-08 11.53.11.png

右クリックで「ブランチ...」を選択

スクリーンショット 2016-08-08 11.53.22.png

新規ブランチ名を記入、特定のコミットがラジオボタンで選択されているのを確認、「ブランチを作成」をクリック

スクリーンショット 2016-08-08 11.54.51.png

出来上がり!

スクリーンショット 2016-08-08 12.11.39.png

上記は以下をやっていると思われる

$ git checkout コミットログ -b 新規ブランチ名
5
5
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
5
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?