This commit is contained in:
Chris Wanstrath 2026-03-01 09:42:22 -08:00
parent 65d4fe85cf
commit 13fa2b202a

View File

@ -439,7 +439,7 @@ function AppRepo({ appName, baseUrl, branch, exists, commits }: AppRepoProps) {
`git push toes ${branch}`, `git push toes ${branch}`,
'', '',
'# Or if remote not yet added:', '# Or if remote not yet added:',
`git remote add toes ${baseUrl}/${appName}.git`, `git remote add toes ${baseUrl}/${appName}`,
`git push toes ${branch}`, `git push toes ${branch}`,
].join('\n')}</CodeBlock> ].join('\n')}</CodeBlock>
</> </>
@ -451,7 +451,7 @@ function AppRepo({ appName, baseUrl, branch, exists, commits }: AppRepoProps) {
<div> <div>
<RepoName>{appName}</RepoName> <RepoName>{appName}</RepoName>
<HelpText style="margin: 4px 0 0; font-size: 12px"> <HelpText style="margin: 4px 0 0; font-size: 12px">
git clone {baseUrl}/{appName}.git git clone {baseUrl}/{appName}
</HelpText> </HelpText>
</div> </div>
<Badge>empty</Badge> <Badge>empty</Badge>
@ -460,7 +460,7 @@ function AppRepo({ appName, baseUrl, branch, exists, commits }: AppRepoProps) {
<Heading>Push to Deploy</Heading> <Heading>Push to Deploy</Heading>
<CodeBlock>{[ <CodeBlock>{[
`git remote add toes ${baseUrl}/${appName}.git`, `git remote add toes ${baseUrl}/${appName}`,
'git push toes main', 'git push toes main',
].join('\n')}</CodeBlock> ].join('\n')}</CodeBlock>
</> </>
@ -472,7 +472,7 @@ function AppRepo({ appName, baseUrl, branch, exists, commits }: AppRepoProps) {
Push to create one and deploy. Push to create one and deploy.
</HelpText> </HelpText>
<CodeBlock>{[ <CodeBlock>{[
`git remote add toes ${baseUrl}/${appName}.git`, `git remote add toes ${baseUrl}/${appName}`,
'git push toes main', 'git push toes main',
].join('\n')}</CodeBlock> ].join('\n')}</CodeBlock>
</> </>
@ -492,11 +492,11 @@ function RepoListPage({ baseUrl, repos }: RepoListPageProps) {
<CodeBlock>{[ <CodeBlock>{[
'# Add this server as a remote and push', '# Add this server as a remote and push',
`git remote add toes ${baseUrl}/<app-name>.git`, `git remote add toes ${baseUrl}/<app-name>`,
'git push toes main', 'git push toes main',
'', '',
'# Or push an existing repo', '# Or push an existing repo',
`git push ${baseUrl}/<app-name>.git main`, `git push ${baseUrl}/<app-name> main`,
].join('\n')}</CodeBlock> ].join('\n')}</CodeBlock>
{repos.length > 0 && ( {repos.length > 0 && (
@ -508,7 +508,7 @@ function RepoListPage({ baseUrl, repos }: RepoListPageProps) {
<div> <div>
<RepoName>{name}</RepoName> <RepoName>{name}</RepoName>
<HelpText style="margin: 4px 0 0; font-size: 12px"> <HelpText style="margin: 4px 0 0; font-size: 12px">
git clone {baseUrl}/{name}.git git clone {baseUrl}/{name}
</HelpText> </HelpText>
</div> </div>
<div style="display: flex; gap: 8px; align-items: center"> <div style="display: flex; gap: 8px; align-items: center">