Clone a GitHub repository
Clone a repository
In this assignment, you will clone your personal assignment repository from GitHub to Posit Cloud.
- Open https://github.com/ in your browser.
- Navigate to the GitHub organization for the course: https://github.com/ds4owd-002
- Find the repository
md-01-assignments-USERNAME
that ends with your GitHub username, and open it by clicking on the repository name.
- Replace
USERNAME
with your actual GitHub username. - For example, if your username is
johnsmith
, the repository will bemd-01-assignments-johnsmith
.
Tip
You can search for your repository by typing your username in the search bar just below the Repository heading. See “rainbow-train” in screenshot.
- Click on the green Code button.
- Copy the HTTPS URL to your clipboard by clicking on the clipboard icon next to the URL.
- Open the Content tab of the ds4owd-002 workspace on Posit Cloud: https://posit.cloud/spaces/663318/content/all?sort=name_asc
- Click the blue button New Project > New Project from Git Repository
- Paste the HTTPS URL from GitHub into the URL of your Git Repository field and click OK. Leave the checkbox under Packages checked.
- Wait until the project is deployed. This may take a few minutes, depending on your internet connection.
- Continue with the next assignment: GitHub workflow.