Skip to content

Add upstream-merge workflow for downstream consumers#24

Merged
tingeber merged 1 commit into
mainfrom
feature/upstream-merge-driver
May 12, 2026
Merged

Add upstream-merge workflow for downstream consumers#24
tingeber merged 1 commit into
mainfrom
feature/upstream-merge-driver

Conversation

@tingeber

Copy link
Copy Markdown
Contributor

Ship a .gitattributes using Git's built-in merge=ours driver so forks can run git fetch template && git merge template/main without losing their content, uploaded assets, or branding.

Protected paths: src/content/**, src/assets/**, public/**. No per-clone driver registration required.

README and how-to-use.yaml gain a "Staying up to date with Scaffold" section covering the two-command flow, what's protected, the new-file caveat, and the one-time bootstrap for consumers that forked before .gitattributes existed.

Ship a `.gitattributes` using Git's built-in `merge=ours` driver so
forks can run `git fetch template && git merge template/main` without
losing their content, uploaded assets, or branding.

Protected paths: `src/content/**`, `src/assets/**`, `public/**`.
No per-clone driver registration required.

README and how-to-use.yaml gain a "Staying up to date with Scaffold"
section covering the two-command flow, what's protected, the new-file
caveat, and the one-time bootstrap for consumers that forked before
`.gitattributes` existed.
@netlify

netlify Bot commented May 12, 2026

Copy link
Copy Markdown

Deploy Preview for draftlab-scaffold ready!

Name Link
🔨 Latest commit 3e6bb04
🔍 Latest deploy log https://app.netlify.com/projects/draftlab-scaffold/deploys/6a032977f8bede0008ef38e4
😎 Deploy Preview https://deploy-preview-24--draftlab-scaffold.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@tingeber tingeber merged commit c30a0c0 into main May 12, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant