In order to support this model git maintains a local repository with your code and also an additional local repository that mirrors the state of the remote repository. It is possible to work completely disconnected and burn a CD to exchange code via git. Git was designed so that people on an unreliable link could exchange code via email, even. Also git was designed so that the client and the "server" don't need to be online at the same time. ![]() Git was designed to support a more distributed model with no need for a central repository (though you can certainly use one if you like). The assumption is that the client can always contact the server when it needs to perform an operation. There is a single repository that is the server, and several clients can fetch code from the server, work on it, then commit it back to the server. Subversion was designed and built with a client/server model. ![]() ![]() It is important to contrast the design philosophy of git with the philosophy of a more traditional source control tool like SVN.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |