Development Tools Introduction to Git First Commits Git Overview

Agata Zurek
Agata Zurek
7,107 Points

Does one person working on a local machine get any benefit from Git's distributed feature?

How would a person working alone be able to take advantage of the "distributed" feature of Git?

1 Answer

rydavim
MOD
rydavim
Treehouse Moderator 17,126 Points

I haven't been through this particular course, so I can't speak specifically in that regard. However, I don't believe it would make any meaningful impact on a single programmer working alone.

The strength of a distributed model is that instead of having one central repository that everyone sends changes to, you instead have each committer with their own repository that has the whole commit history. The changes are just recorded to each person's local repository, no need to connect with a remote repository.

If you're working alone your local repository is effectively the central repository, since there's no one else working on the project.