diff --git a/frontend/src/lib/components/git_sync/PullWorkspaceModal.svelte b/frontend/src/lib/components/git_sync/PullWorkspaceModal.svelte index b302b3656c..1b6c4bcd0d 100644 --- a/frontend/src/lib/components/git_sync/PullWorkspaceModal.svelte +++ b/frontend/src/lib/components/git_sync/PullWorkspaceModal.svelte @@ -606,17 +606,17 @@ git pull {#if !settingsOnly}# Push from git repository to workspace wmill sync push --workspace {$workspaceStore} --repository {gitRepoResourcePath} - {:else} - # Edit wmill.yaml file +{:else}# Edit wmill.yaml file vim wmill.yaml git add wmill.yaml - {/if}# Commit changes + +{/if}# Commit changes git commit git push {#if settingsOnly} - # Push settings only from git repository or click the pull settings button above{#if currentGitSyncSettings?.repositories?.[repoIndex!]?.use_individual_branch} - wmill gitsync-settings push --workspace {$workspaceStore} --repository {gitRepoResourcePath} --promotion main{:else} - wmill gitsync-settings push --workspace {$workspaceStore} --repository {gitRepoResourcePath}{/if}{/if} {#if currentGitSyncSettings?.repositories?.[repoIndex!]?.use_individual_branch && settingsOnly}