On Sat, Oct 29, 2011 at 01:40:11PM -0700, Geoff Hoffman wrote: > Sort of off topic of this thread, but even though I've used SVN for years, > the idea of running it locally without a server never occurred to me. I > thought 'distributed repositories' was Git's only/main benefit over SVN, > but if you have a local repository, I'm guessing you can work/commit > locally, then svn switch to your remote/work repository to commit to the > shared/compay repo? Is that right?
No. In Subversion, revision numbers are per-repository. Your local repository has a distinct revision number space from the shared/company repository. So each repository is its own universe. In Git revisions are global across multiple repositories. A universe is made up of a number of repositories, each cloned from one another. The file:// access method is intended for testing purposes mostly. Though nothing prevents you from working with a repository locally via file:// for a while, and later network this same repository to the world, for instance via https.