Workspace

Changes

{stagedCount} staged {unstagedCount} unstaged {#if hasRepository && changedFiles.length > 0} {/if}
{#if !hasRepository}
No repository loaded.
{:else if status?.clean}
Working tree is clean.
{:else if changedFiles.length === 0}
No file changes returned.
{:else}
Unstaged{unstagedCount}
{#if selectedUnstagedCount > 1} {selectedUnstagedCount} selected {/if} {#if selectedUnstagedCount > 1} {/if}
{#each unstagedFiles as file (`unstaged:${fileKey(file)}`)} {@const stageTargets = selectedStageTargets(file)}
{statusLabel(file.unstaged)}
{/each} {#if unstagedCount === 0}

No unstaged changes.

{/if}
Staged{stagedCount}
{#if selectedStagedCount > 1} {selectedStagedCount} selected {/if} {#if selectedStagedCount > 1} {/if}
{#each stagedFiles as file (`staged:${fileKey(file)}`)} {@const unstageTargets = selectedUnstageTargets(file)}
{statusLabel(file.staged)}
{/each} {#if stagedCount === 0}

Stage files to include them in the next commit.

{/if}
{/if} {#if isBusy && hasRepository}
{operation || "Working"}…
{/if}