Task 3: Content Container
Planning & ImplementationHint
Task 5: Bottom Section
Task 3: Content Container (continued)
Change RequestsUpdate Pull Request

Update the local repository

Task 1: Header

We clicked the merge button in the Pull Request. So the next step on the roadmap is pull main.

By merging the Pull Request on the GitHub website we added all the code changes from the header branch to the main branch. But we don't have these changes on our local machine yet.

To update our local repo with the latest changes we need to run the git pull command on the main branch.

So open your terminal again, check out the main branch, and pull the changes.

git checkout main
git pull origin main

The output that you see from the pull command should look something like this.

Great. Now our local branch is up-to-date. We're ready to continue with the next feature.

But before we dive into the code again let's have a quick theory lesson to understand what just happened.

Next: Merge vs. Squash Merge

Terms of UsePrivacy