Exercise

Pulling from a remote

Fetching is useful, but if you want to bring your local repo's main branch in line with a remote repo, origin, this is possible with a single command!

In this exercise, you'll work on a file while synchronizing between local and remote repos.

Instructions 1/4

undefined XP
  • 1
    • Use a single command to fetch and merge the origin repo into your local main branch.
  • 2
    • Append "No existing mental health diagnosis." to the end of protocol.md.
  • 3
    • Add protocol.md to the staging area.
  • 4
    • Make a commit with the log message "Updating eligibility criteria".