Git and merging changes from branches

This forum is for all Flare issues related to using Source Control.

Git and merging changes from branches

Postby oceanclub on Fri Apr 12, 2019 1:26 pm

Hi all,

I'm fairly new to Git (from SVN) so perhaps there's an obvious reason for this:

Once we completed a version of a documentation set, I created a tag for it - v7.

Then on our main branch, we continued development for v8.

However, I needed to go back and make some changes to the v7 branch. So I used Git Bash to check out the tag as a separate branch (*) to an entirely separate folder:

Code: Select all
git checkout -b newbranch v7

(*) There appeared to be no way to do this from inside Flare so presume I did the right thing.

Anyway, have made my changes to that branch as required. In the Source Control ribbon there is a "Merge" button. When I click on that, a dialog box "Select branch to merge" is displayed, with a drop-down field "Please select branch to merge into v7', and a value of "master".

However, I want to do the opposite - I want to merge my changes from my v7 branch into my master.

When I check the instance of Flare for my master, the Merge button is actually greyed out. I've no idea why that is.

Any help appreciated,

Paul
oceanclub
Sr. Propeller Head
 
Posts: 162
Joined: Thu Oct 10, 2013 4:45 am

Return to Source Control

Who is online

Users browsing this forum: No registered users and 1 guest

cron