Chapter 12. Collaborating with remotes

This is the second chapter (of four) on Git collaboration. In chapter 11, you learned about cloning. In this one, you’ll learn about remotes and the command that manipulates them, git remote. Each clone that you create contains a reference to where it came from. This reference is a remote. Remotes serve as pointers back to a location, either on your computer or on the Internet. It’s the basis for collaboration, along with cloning.

You’ll learn how git remote allows you to examine and update the remote. You’ll also learn about the git ls-remote command, which lets you know if your local repository and your original (remote) repository are out of sync. This chapter will help you understand Git’s collaboration ...

Get Learn Git in a Month of Lunches now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.