nit: formatting cli commands in windmill git sync ui (#7058)

This commit is contained in:
Alexander Petric
2025-11-04 13:18:06 -05:00
committed by GitHub
parent 17d7fe152e
commit e79ac41c3e
2 changed files with 8 additions and 8 deletions
@@ -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}</pre
# 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}</pre
>
{#if currentGitSyncSettings?.repositories?.[repoIndex!]?.use_individual_branch && settingsOnly}
<div class="text-xs text-primary mt-3">
@@ -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}</pre
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}</pre
>
{#if useIndividualBranch}
<div class="text-xs text-primary mt-3">