{#snippet bullet(n: number)} {n} {/snippet} {#snippet codeBlock(lines: string[])}
{lines.join(
			"\n"
		)}
{/snippet} {#if isOwner} {#if loadingKey} {:else if ownerHasKey}

This is an empty repository.

…create a new repository on the command line

{@render codeBlock([ `echo "# ${repo.name}" >> README.md`, "git init", "git add README.md", 'git commit -m "initial commit"', `git branch -M ${resolvedBranch}`, `git remote add origin ${remote}`, `git push -u origin ${resolvedBranch}` ])}

…or push an existing repository from the command line

{@render codeBlock([ `git remote add origin ${remote}`, `git branch -M ${resolvedBranch}`, `git push -u origin ${resolvedBranch}` ])}
{:else}

This is an empty repository. To get started:

{@render bullet(1)}First, generate a new SSH key pair.

{@render bullet(2)}Then add the public key from the keys page in your settings.

{@render bullet(3)}Configure your remote to {remote}

{@render bullet(4)}Push!

{/if} {:else}

This is an empty repository.

{/if}