Culzean
Culzean

Reputation: 359

In Unity Plastic SCM see easily which branch is currently checked out

We are team just moving over the using Plastic SCM with Unity, from git and LFS. The Unity integration is very important for this change. However I have already made a mistake where I committed changes to the wrong branch. I see the branches listed under Plastic SCM > Branches, however I don't see which is the currently checked out branch, which is very important information. How do I find this information without exiting Unity? I am missing something simple?

Upvotes: 1

Views: 1173

Answers (2)

Tamer Nasser
Tamer Nasser

Reputation: 199

As a reply to your explanation in the comments above: You can view what branch you are in currently by opening the PlasticSCM window in Unity then heading to "Branches". Your current branch would be slightly highlighted.

For example: Branches tab in PlasticSCM window

As you can see in the screen above, there is two branches, the one on the top is slightly highlighted which means its my active branch.

Regarding your issue - pushing changes to wrong branch. PlasticSCM gives you a way to move changeset to other branch but sadly you can't achieve that just by using Unity GUI(Yet). If you are interested in solving such issue follow the steps below:

Open PlasticSCM window and head to Branch explorer (Or launch PlasticSCM from your machine without using Unity) Plastic Nav

Right click on the changeset > Advanced > Move changeset to a different branch PlasticSCM GUI branch explorer

Choose the branch you want and move it. Note: The branch that you want to move to must be empty. So you might need to create a new empty branch as child to the branch you need, move the changeset then merge it.

Upvotes: 2

Dani Carco
Dani Carco

Reputation: 11

I think you are asking for this. In the right down corner of the Plastic SCM window.

Image

1

Upvotes: 0

Related Questions