Skip to content

Commit 021cc90

Browse files
committed
feat(Merge): Change merge strategy to recursive-theirs
This strategy will merge even chages in other folders and will prioritize theirs changes in case of conflict
1 parent 70d3753 commit 021cc90

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Scripts/NVR_NAVScripts/Merge-NAVGIT.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ function Merge-NAVGIT
174174

175175
function CreateGitMerge
176176
{
177-
$result = git.exe merge --no-ff --no-commit --strategy=ours --quiet --no-progress $targetbranch | Out-Null
177+
$result = git.exe merge --no-ff --no-commit --strategy=recursive --strategy-option=theirs --no-renames --quiet --no-progress $targetbranch | Out-Null
178178
}
179179

180180
function ConvertTo-Date ($param1)

0 commit comments

Comments
 (0)