I am trying to figure out a way to create variables on my master that can be changed when merged with branches. Here is an example: I have a Master, BranchA and SecondBranch. The code in Master is the same in the other two branches except for a few lines. Those lines are specific to each branch. The way I have it set up right now I have to pull Master locally, make the branch specific changes, then push it out to the correct branch. What I would like to do;
Make changes to Master without searching for the branch specific code,
Merge Master with BranchA and have that code automatically changed.
I know I sound lazy but being able to do this would save me about an hour a day of searching and changing, this doesn't count the time fixing something I may have missed. And since I have been working with Git for just over a week, missing something can be a pain.
Thanks in advance.
Badges are a great way to show off community activity, whether you’re a newbie or a Champion.Learn more
Hi Community, I'm Julia and I'm on the Jira Software Cloud marketing team! We're looking for companies or teams using Bitbucket Cloud and Jira Software Cloud. If your team fits the t...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs