Skip to Main Content
Pragmatic Version Control Using Git
book

Pragmatic Version Control Using Git

by Travis Swicegood
December 2008
Intermediate to advanced content levelIntermediate to advanced
184 pages
4h 47m
English
Pragmatic Bookshelf
Content preview from Pragmatic Version Control Using Git

8.4 Tracking Multiple Projects

Most organizations have multiple projects. Even if they are different parts of one product, they all need to be segregated so everyone on the team can find the code they need without having to sift through all the code.

You can handle multiple projects with Git in a couple of ways. You can store all your projects in one repository, or you can have individual repositories for each project. There are pros and cons to each, and we’ll cover them in the following sections.

Multiple Projects, One Repository

The first and most straightforward method is creating one repository and storing multiple projects within it. You can do this by creating a different top-level directory for each project within your repository. ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Git: Mastering Version Control

Git: Mastering Version Control

Ferdinando Santacroce, Aske Olsson, Rasmus Voss, Jakub Narębski
Pragmatic Guide to Git

Pragmatic Guide to Git

Travis Swicegood
Git Version Control Cookbook - Second Edition

Git Version Control Cookbook - Second Edition

Kenneth Geisshirt, Emanuele Zattin(EUR), Aske Olsson, Rasmus Voss

Publisher Resources

ISBN: 9781680500189Errata Page