Use this guide to hand a Studio change to a professional developer for Git review. The Studio release is the immutable handoff, while Git remains the place where developers review and resolve conflicts.
Prerequisites
- An immutable release created from the completed Studio change.
- The release version and base Git SHA supplied by the Studio editor.
- A clean local clone of the Git repository.
- A dedicated Veryfront API key and project slug in your environment.
- Permission to push a Git feature branch and open a pull request.
.veryfront/in.gitignoreso local Push receipts and sync baselines cannot enter the pull request.
Synchronize main before Studio work
Wait for the serialized CI job to push the latest reviewed Git main source
into Veryfront and deploy it to staging. Record that successful job's Git SHA.
Do not start a new Studio change before this Push finishes.
Create a non-main Studio branch for the citizen-developer change. Do not edit
or publish directly from Studio main. Apply this rule through the team's
source-control policy and CI ownership.
Create the Studio handoff
When the Studio change is ready, publish it to a non-production environment, such as staging. Publish creates the immutable release used for the handoff and deploys it only to that selected environment.
Open the Releases panel in Studio, open the new release, and copy its Version value. Give the professional developer that version and the Git SHA recorded before Studio work began. You do not need to deploy the unreviewed change to production.
Create a Git feature branch
Start from the latest reviewed main branch:
git fetch origin maingit switch --create veryfront/studio-release origin/maingit status --shortgit status --short must print no changes. Never pull a Studio release directly
into the Git main branch.
Record the handoff values and check whether Git advanced after Studio work began:
VERYFRONT_RELEASE="<VERSION>"BASE_GIT_SHA="<BASE_GIT_SHA>"CURRENT_MAIN_SHA="$(git rev-parse origin/main)" if [ "$CURRENT_MAIN_SHA" != "$BASE_GIT_SHA" ]; then echo "Studio release is based on $BASE_GIT_SHA; Git main is $CURRENT_MAIN_SHA." echo "Pull applies a full snapshot and will not auto-merge these changes."fiFor the safest workflow, stop when these SHAs differ. Push the latest Git
main source into Veryfront, recreate the Studio change, and publish a new
release. If the professional developer deliberately continues, they own the
full Git diff and every conflict resolution.
Preview the release
Set the immutable release version and preview the file reconciliation:
veryfront pull --release "$VERYFRONT_RELEASE" --prune --dry-run--prune includes managed local files that exist in Git but not in the Studio
release. It does not delete ignored files, unsupported files, or Git metadata.
Push and pruning Pulls share the project .vfignore rules. Commit .vfignore
as a regular file when the project uses one.
Use a release version instead of a mutable Studio branch name. Repeating the Pull for the same release retrieves the same source snapshot.
Pull dry-run may run outside a Git worktree and does not write or delete local files. It still validates the remote path set and reports every managed file it would write or delete. Use it before every pruning Pull.
Apply the release
Apply the additions, updates, and deletions to the clean feature branch:
veryfront pull --release "$VERYFRONT_RELEASE" --prune --yesPull fetches every managed remote file before it writes locally. A content
download failure leaves the feature branch unchanged. A local write or delete
failure can leave a partial Git diff. In that case, inspect git status, return
the feature branch to a clean state with your normal Git recovery workflow, and
then run Pull again. Do not discard unrelated local work.
After a successful Pull, Veryfront stores the canonical project identity in
ignored .veryfront/project.json. It also creates a minimal package.json or
tsconfig.json when either file is missing from both the downloaded release
and the target directory. Pull never overwrites a downloaded or existing
bootstrap file. Dry-run reports these planned bootstrap writes without changing
the target directory.
A mutating --prune requires a clean Git worktree. --yes and --force skip
only the overwrite confirmation and never bypass the clean-worktree, path, or
symlink checks. Pull preserves the release bytes exactly, including line
endings and a missing final newline.
The release is a full managed-source snapshot, not a patch. Pull overwrites supported text files and prunes supported text files that are absent from the release. The ignored project link and any missing bootstrap files are local development metadata, not release content. Pull does not perform a three-way merge. It does not auto-merge a stale release with newer Git changes. Ignored, unsupported, and binary files remain outside the reconciliation.
A successful pull from main or a mutable Studio branch records an ignored
sync baseline in .veryfront/sync-state.json. Push compares the current remote
content with that baseline and rejects files changed remotely since the pull.
Commit or stash local changes, pull, and reconcile the resulting Git diff
before pushing again. veryfront push --force bypasses these guards and must be
used only when intentionally replacing the remote content. Pulls from releases
and environments do not establish a branch baseline because those sources are
not mutable push targets.
Review and test
Inspect every change before committing it:
git status --shortgit diff --checkgit diffRun the project's normal format, lint, test, and build commands. Treat the pulled release like any other proposed source change.
Commit and open a pull request
Commit the reviewed snapshot and push the feature branch:
git add --allgit commit -m "Apply Veryfront Studio release"git push --set-upstream origin HEAD gh pr create \ --base main \ --head "$(git branch --show-current)" \ --title "Apply Veryfront Studio release ${VERYFRONT_RELEASE}" \ --body "Veryfront Studio release: ${VERYFRONT_RELEASE}Studio base Git SHA: ${BASE_GIT_SHA}"The pull request targets main and records both the immutable release and its
Studio base Git SHA. Reviewers can use those values to trace the handoff and
identify a stale snapshot.
You can put the same Pull, test, commit, and gh pr create sequence in a
repository-owned CI workflow. Keep the Git credential and pull request creation
in that workflow. Require the release version and Studio base Git SHA as inputs,
write both values into the pull request, and label a mismatch between the base
SHA and current main as a stale full snapshot.
Resolve conflicts in Git
If main changes before the pull request merges, update the feature branch in
Git:
git fetch origin maingit merge origin/maingit diff --name-only --diff-filter=UResolve each listed file, run git add --all, commit the merge, and push the
feature branch again. Do not resolve Git conflicts by overwriting Git main
from Studio.
After the pull request merges, the normal CI workflow pushes the reviewed Git
main source to Veryfront and creates the staging release and deployment
when staging is configured. The approved production workflow uses the same
sequence. Wait for that Push before anyone starts another Studio change.
Verify it worked
- Confirm the pull request diff matches the immutable Studio release.
- Confirm required Git reviews and checks pass.
- Merge the pull request.
- Confirm the serialized CI job pushes and deploys the merged commit.
Next
- Deploy from CI: Push and deploy the merged Git commit.
- Build and deploy: Review the full deployment workflow.
Related
- veryfront/cli: Pull, Push, and Deploy command catalog
- Configuration: Veryfront authentication and project configuration