Skip to content

add sync-docs README #730

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Oct 31, 2024
Merged

add sync-docs README #730

merged 3 commits into from
Oct 31, 2024

Conversation

Rich-Harris
Copy link
Member

@Rich-Harris Rich-Harris commented Oct 30, 2024

closes #573

Copy link

vercel bot commented Oct 30, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
svelte-dev ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 30, 2024 11:08pm

@benmccann
Copy link
Member

do we no longer have to set USE_GIT=true when running it?

@Rich-Harris
Copy link
Member Author

correct

@Rich-Harris
Copy link
Member Author

(I mean, if you want to pull from GitHub then you should use the -p or --pull flag, but there's no more env var)

@benmccann
Copy link
Member

Is there any reason we wouldn't make --pull the default? What does it do if you already have a repo and run it without any args?

@Rich-Harris
Copy link
Member Author

It will sync from whatever state the repo is currently in. The assumption is that if you're interacting with this stuff manually, you're working with a symlinked repo and you're probably making edits in it. In that case, you definitely don't want to pull every time you sync

@Rich-Harris Rich-Harris merged commit 531f21e into main Oct 31, 2024
5 checks passed
@Rich-Harris Rich-Harris deleted the sync-docs-readme branch October 31, 2024 18:36
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.

Remove USE_GIT
3 participants