Working with a Team
You have already seen how you can work with a repository by checking out and checking in. This process of checking out and checking in allows many people to effectively work on the same project at the same time without getting in each other’s way. If you and I were to work on a project together, we would create a central repository and then each check out a local copy. Let’s say we’re building a website together, and you want to start writing the JavaScript while I start writing HTML. When you check in your JavaScript changes, the repository is updated, but my copy of the code is left unchanged. When I check in my HTML changes, the repository is updated, but I still don’t have your JavaScript changes and you still don’t have ...
Get Learning to Program 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.