1
1

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 > default branchの設定

Last updated at Posted at 2015-09-07
動作確認
SourceTree version 1.6.19.0 on Windows 7Pro

default branchというのが樹形図の一番左に来るらしい。
https://answers.atlassian.com/questions/310287

Any other branch can be configured to be the default branch. Saying this, it does not make sense to have master branch displayed always leftmost

例として、左のメニューの[ブランチ]において、以下がある状況でfeature_XXXをdefault branchとする手順を示す。

  • feature_XXX
  • master

参考
https://answers.atlassian.com/questions/172242/how-to-setup-default-push-branch

Right-click your local branch in the sidebar on the left, then select Track Remote Branch, and then the remote branch you want it to track. That will then be the default when you push next time.

手順

  1. 左メニュー「ブランチ」の feature_XXX 上にて右クリック > リモートブランチを追跡 > origin/feature_XXX を選択
  2. 次回pushした時に、feature_XXXが一番左に来る
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

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?