.git
This commit is contained in:
parent
65d4fe85cf
commit
13fa2b202a
|
|
@ -439,7 +439,7 @@ function AppRepo({ appName, baseUrl, branch, exists, commits }: AppRepoProps) {
|
|||
`git push toes ${branch}`,
|
||||
'',
|
||||
'# Or if remote not yet added:',
|
||||
`git remote add toes ${baseUrl}/${appName}.git`,
|
||||
`git remote add toes ${baseUrl}/${appName}`,
|
||||
`git push toes ${branch}`,
|
||||
].join('\n')}</CodeBlock>
|
||||
</>
|
||||
|
|
@ -451,7 +451,7 @@ function AppRepo({ appName, baseUrl, branch, exists, commits }: AppRepoProps) {
|
|||
<div>
|
||||
<RepoName>{appName}</RepoName>
|
||||
<HelpText style="margin: 4px 0 0; font-size: 12px">
|
||||
git clone {baseUrl}/{appName}.git
|
||||
git clone {baseUrl}/{appName}
|
||||
</HelpText>
|
||||
</div>
|
||||
<Badge>empty</Badge>
|
||||
|
|
@ -460,7 +460,7 @@ function AppRepo({ appName, baseUrl, branch, exists, commits }: AppRepoProps) {
|
|||
|
||||
<Heading>Push to Deploy</Heading>
|
||||
<CodeBlock>{[
|
||||
`git remote add toes ${baseUrl}/${appName}.git`,
|
||||
`git remote add toes ${baseUrl}/${appName}`,
|
||||
'git push toes main',
|
||||
].join('\n')}</CodeBlock>
|
||||
</>
|
||||
|
|
@ -472,7 +472,7 @@ function AppRepo({ appName, baseUrl, branch, exists, commits }: AppRepoProps) {
|
|||
Push to create one and deploy.
|
||||
</HelpText>
|
||||
<CodeBlock>{[
|
||||
`git remote add toes ${baseUrl}/${appName}.git`,
|
||||
`git remote add toes ${baseUrl}/${appName}`,
|
||||
'git push toes main',
|
||||
].join('\n')}</CodeBlock>
|
||||
</>
|
||||
|
|
@ -492,11 +492,11 @@ function RepoListPage({ baseUrl, repos }: RepoListPageProps) {
|
|||
|
||||
<CodeBlock>{[
|
||||
'# 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',
|
||||
'',
|
||||
'# Or push an existing repo',
|
||||
`git push ${baseUrl}/<app-name>.git main`,
|
||||
`git push ${baseUrl}/<app-name> main`,
|
||||
].join('\n')}</CodeBlock>
|
||||
|
||||
{repos.length > 0 && (
|
||||
|
|
@ -508,7 +508,7 @@ function RepoListPage({ baseUrl, repos }: RepoListPageProps) {
|
|||
<div>
|
||||
<RepoName>{name}</RepoName>
|
||||
<HelpText style="margin: 4px 0 0; font-size: 12px">
|
||||
git clone {baseUrl}/{name}.git
|
||||
git clone {baseUrl}/{name}
|
||||
</HelpText>
|
||||
</div>
|
||||
<div style="display: flex; gap: 8px; align-items: center">
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user