Chapter 14. Keeping in sync
Collaborating with a software project that uses Git requires that you keep your repository in sync with this remote repository. The focus of this chapter is the command that helps you keep in sync: git pull.
git pull is the opposite operation of git push. You’ll learn how to use git pull to bring in changes that were made in the remote repository you’re tracking.
This is the step that keeps you in sync! You’ll also learn that git pull consists of two commands: git fetch and git merge. You learned about git merge in chapter 10, but knowing how it’s used in conjunction with git fetch will help you understand issues you might have with git pull.
14.1. Completing the cycle of collaboration
You’ve learned about clones ( ...
Get Learn Git in a Month of Lunches now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.