We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ab3b40e commit ad8ef0dCopy full SHA for ad8ef0d
2 files changed
.gitattributes
@@ -0,0 +1,3 @@
1
+# Keep local versions of these files when merging from main
2
+backend/src/main/resources/application.yml merge=ours
3
+frontend/lib/api.ts merge=ours
scripts/setup-local-branch.ps1
@@ -0,0 +1,11 @@
+# Setup script for local branch merge driver
+# Run this after checking out the 'local' branch to configure the merge driver locally.
+
4
+# Ensure we're in repo root
5
+Set-Location -Path $PSScriptRoot\..\
6
7
+# Configure the 'ours' merge driver locally to always keep our version
8
+git config --local merge.ours.driver true
9
10
+Write-Host "Configured merge.ours.driver true in local git config"
11
+Write-Host "Remember to commit .gitattributes on branch 'local' with your local-only files changed."
0 commit comments