Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,466,890
Community Members
 
Community Events
176
Community Groups

How to set default config for merge action to not commit merge result automatically?

Hi Everyone,

 

We are using Sourcetree for GIT. Our merge strategy relies on transferring only a subset of the different files from one branch to another, because we have such branches that not all changes made in one branch are relevant for the other. And this needs to be on a file by file level, not on a commit level.

This can be easily done if the autocommit on merge is not active, as then we just stage the files that we need and ignore the rest. Which is supported by the Merge icon from the task, but not by the merge command from the right mouse button menu. The first method (merge icon) offers a pop up where the option "Commit merge immediately (if no conflicts)" can be disabled which does exactly what we need. 

But this option always resets to enabled, so have to be set every time we merge, which means mistakes are more than likely. And I couldn't find a way to change the default behaviour of merge action from the right mouse menu at all. There seems to be no option for that in Sourcetree's Tools > Options and changing the user.config file seems to have no effect either:

I found "GitCommitMergedChangesImmediately" in  

C:\Users\<myuser>\AppData\Local\Atlassian\SourceTree.exe_Url_********\3.4.5.0\user.config

which seems to be the very thing I need, but changing that from True to False has no effect. (Even though changing other attributes in the same file have the expected effect on Sourcetree)

I would be grateful for any ideas. Many thanks.

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events