----- Original Message -----
From: "Timothy Rice" <[email protected]>
I can't reproduce the problem precisely, but I'm guessing you did not set
up "origin" to be a *bare* repo.
You can't push to regular repos. Distributing changes between regular
repos
requires a strict fork-and-pull workflow, although cloning is also
permitted.
<snip>
Just to correct one misunderstanding. What you cannot do is push the current
HAED branch of the remote (non-bare) repo.
It is possible to push to a NON checked out branch of a non-bare repo (that
was apparently what they did in the old days before I knew Git).
I use that method at work, so that I have a network share that is the
non-bare 'remote', and I have a local drive repo that I'm working on. The
network share looks like it has a checked out 'master' on it, but if you
('they') realise it has the hidden .git folder, then they could see that
(using Git) it also has my working branch 'philip' on it!
But I can't have the same branch checked out on both and push one to the
other.
--
Philip
--
You received this message because you are subscribed to the Google Groups "Git for
human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.