1
0
mirror of synced 2026-01-07 18:01:41 -05:00

Merge pull request #52013 from github/repo-sync

Repo sync
This commit is contained in:
docs-bot
2024-08-14 14:30:49 -07:00
committed by GitHub

View File

@@ -861,7 +861,7 @@ To clone a repository, the code will use your {% data variables.product.prodname
git clone https://x-access-token:TOKEN@github.com/OWNER/REPO.git
```
The command above clones a repository over HTTP. It requires the full repository name, which includes the repository owner (user or organization) and the repository name. For example, the [octocat Hello-World](https://github.com/octocat/Hello-World) repository has a full name of `octocat/hello-world`.
The command above clones a repository over HTTPS. It requires the full repository name, which includes the repository owner (user or organization) and the repository name. For example, the [octocat Hello-World](https://github.com/octocat/Hello-World) repository has a full name of `octocat/hello-world`.
Open your `server.rb` file. In the code block that starts with `helpers do`, where it says `# ADD CLONE_REPOSITORY HELPER METHOD HERE #`, add the following code: