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}
diff --git a/frontend/src/lib/components/workspaceSettings/GitSyncFilterSettings.svelte b/frontend/src/lib/components/workspaceSettings/GitSyncFilterSettings.svelte index 8347944b0b..406649ffcd 100644 --- a/frontend/src/lib/components/workspaceSettings/GitSyncFilterSettings.svelte +++ b/frontend/src/lib/components/workspaceSettings/GitSyncFilterSettings.svelte @@ -443,8 +443,8 @@ git commit git push # Push changes to workspace or click the pull settings button above{#if useIndividualBranch} - wmill gitsync-settings push --workspace {$workspaceStore} --repository {git_repo_resource_path} --promotion main{:else} - wmill gitsync-settings push --workspace {$workspaceStore} --repository {git_repo_resource_path}{/if} {#if useIndividualBranch}