Chapter 6. Collaborating with Git - Part II: Go, Team, Go!
Ready to bring in the team? Git is a fantastic tool for collaboration, and we’ve come up with a brilliant idea to teach you all about it—you are going to pair up with someone else in this chapter! You’ll be building on what you learned in the last chapter. You know that working with a distributed system like Git involves a lot of moving parts. So what does Git offer us to make this easier, and what do you need to keep in mind as you go about collaborating with others? Are there any workflows that can make it easier to work together? Prepare to find out.
Ready. Set. Clone!
Cubicle conversation
Addison: Apparently we need to find “synergy” here. Got any ideas?
Sangita: I know exactly what to do. I’ve been reading Head First Git to learn about collaborating using Git. Let’s start with a shared repository in GitHub, and then you and I can use it to collaborate. Hey, Marge! Can you help us create a repository on GitHub?
Marge: Oh yeah, no worries. Easy peasy. I’ll let you know when it’s ready.
Sangita: Thanks, Marge. You good with that, Addison?
Addison: You showed me how to work with a remote before, so I think I know what to do there—clone the repository, create a branch off master
, and get to work.
Sangita: Yep! You ...
Get Head First Git 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.