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