On Tue, 17 Oct 2006 14:03:21 +0200 Matthieu Moy <Matthieu.Moy@imag.fr> wrote:This is most likely the reason that people using Git don't clammor more for the ability to work without a local repository. Disk is cheap and it just makes sense the vast majority of the time to have a complete copy of the repository yourself. There are a lot of powerful things you can do once you have all that information in your repo. Not the least of which is performing any and all operations while flying on a plane or sitting on a park bench. Well, with Git the default is to only commit locally. Of course, you could set your post commit hook to always push it to a remote if you wanted to. Well, it's just a slight difference in perspective rather than any big issue here. Git treats all repositories as peers, so it would never assume that just because one other particular repo has a branch marked as read only that it should be marked read only locally. It lets you commit to it, and then push to say a third and fourth repo that are writable as well. In practice this doesn't really cause any insurmountable problems. Well if you're committing changes from multiple different machines, how is that different from having say 3 different developers committing changes to the central repo? How does bzr avoid a merge when you're pushing changes from 3 separate machines? You mentioned that if you try to push and you're not up to date you'll be prompted to update (ie. pull from the upstream repo). When you do such a pull do your local changes get rebased on top or is there a merge? By your comments I guess you're saying they're rebased rather than merged, and this is how you keep a linear history. Git can do this easily, but it's not done by default. Sean - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
| Pierre Ossman | Re: [RFC][PATCH] cpuidle: avoid singing capacitors |
| Greg KH | [GIT PATCH] driver core patches against 2.6.24 |
| Greg KH | Re: Announce: Linux-next (Or Andrew's dream :-)) |
| Rene Herman | 2.6.26, PAT and AMD family 6 |
git: | |
| Jesper Krogh | Re: NIU - Sun Neptune 10g - Transmit timed out reset (2.6.24) |
| Gerrit Renker | [PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side) |
| Arjan van de Ven | Re: [GIT]: Networking |
| Radu Rendec | htb parallelism on multi-core platforms |
