O'Reilly logo

Learn Git in a Month of Lunches by Rick Umali

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ( ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required