Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: typos & add link for github cli in checkout-answer.md #797

Merged
merged 3 commits into from
Apr 22, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 8 additions & 5 deletions docs/src/content/docs/guides/checkout-answer.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,25 +5,28 @@ contributors:
- tomalaforge
- gsgonzalez88
- 1fbr
- jdegand
sidebar:
order: 3
---

All Angular Challenges answers will be presented in the form of a Pull Request (PR). To view and follow them, navigate through the **Files Changes** page on GitHub. However, understanding and following this process may not be straightforward if you are not familiar with the interface. In many cases, you may prefer to check out the branch and review the solution in your preferred IDE.
All Angular Challenges answers will be presented in the form of a pull request (PR). To view and follow them, navigate through the **Files Changes** page on GitHub. However, understanding and following this process may not be straightforward if you are not familiar with the interface. In many cases, you may prefer to check out the branch and review the solution in your preferred IDE.

This guide has been created to help you in achieving this.
## Install the GitHub CLI

Follow the instructions for your operating system [here](https://github.com/cli/cli#installation).

## Checkout a PR locally from someone else

### Sync your repository

First you need to synchronize your fork to ensure it is up to date with the forked repository.
First, you need to synchronize your fork to ensure it is up-to-date with the forked repository.

This can be archieved by clicking the **Sync fork** button on the main page of your fork.
This can be achieved by clicking the **Sync fork** button on the main page of your fork.

![Sync project header](../../../assets/fork-sync.png)

The image above shows that my branch is behind of the main branch by 8 commits, and I need to synchronize it to be up to date.
The image above shows that my branch is behind the main branch by 8 commits, and I need to synchronize it to be up to date.

![Sync project update modal](../../../assets/sync-fork-update.png)

Expand Down