On Tue, 17 Oct 2006 13:19:08 +0200
Matthieu Moy <Matthieu.Moy@imag.fr> wrote:
Git can do this from a local repository, it just can't do it from
a remote repo (at least over the git native protocol). However,
over gitweb you can grab and unpack a tarball from a remote repo.
In practice this is probably enough support for such a feature.
This doesn't sound right, at least in the spirit of git. Git really
wants to have a local commit which you may or may not push to a
remote repo at a later time. There is no upside to forcing it all to
happen in one step, and a lot of downsides. Gits focus is to support
distributed offline development, not requiring a remote repo to be
available at commit time.
Again this seems really anti-git. There is no reason for your local
branch to be marked read only just because some upstream branch is
so marked.
This is exactly the same in Git. You really only ever push upstream
when your local changes fast forward the remote, (ie. you're up to date).
Git will warn you if your changes don't fast forward the remote.
While Git really isn't meant to work in a centralized way there's nothing
preventing such a work flow. It just requires the use of some surrounding
infrastructure.
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