sledgeS
Windmill2y ago
17 replies
sledge

Staying in sync

I've read through the docs on git sync and wmill cli sync. I have wmill syncing working. When I make changes via the wmill UI, if I want them in my local copy of the workspace I run wmill sync pull. If I make changes to the local workspace, I run wmill sync push, approve the diff and the changes go back to the wmill workspace storage. If I look at the history of a changed file, I see the history of changes. Now I want this workspace to also be synced to a git repo and I have some questions:

If I add git sync to the workspace, do I also need to clone the repo to work locally or do I just use wmill cli for local work and push changes back to the workspace?

For git sync, what if changes happen to the repo outside of wmill, how do I get wmill to pull the latest code from the repo?

Is the git sync more tied to deploys instead of draft saves? In other words, saving drafts keeps history of those changes between saves, deploying pushes to the git repo, tracking history between deploys?

Thanks for the help,
-Chris
Was this page helpful?