On Wed, 28 Jan 2009, allanbj...@gmail.com wrote:
> I set up a repository for a project on a shared Windows volume,
> cloned it to another Windows machine, branched made some edits, and
> pushed it back into a new branch in the original repository just fine.
Nope. It did not work just fine, because you pushed into a checked-out
branch.
For historical reasons, we allow that, but that does not mean that it
worked correctly. Basically, there is no sane way to allow pushing into a
checked-out branch.
You might want to redo the setup with a _bare_ repository that you clone
from and push into.
I am preparing a patch to make this pilot error easier to handle, but do
not hold your breath for it.
Ciao,
Dscho
On Thu, 29 Jan 2009, allanbj...@gmail.com wrote:
> I've been struggling with git revert/reset and other things I'm
> finding in the various other tutorials, trying to revert to the
> original master, but I'm now afraid my repository is completely messed
> up. (Fortunately, this is a small test, and the production code base
> is elsewhere.)
I am just a dumb non-native speaker, but "revert" rather sounds to me like
"undo", not like "forget". The latter sounds more like "reset", but then,
I have been exposed to Git for quite some time.
> This is very frustrating, as it seems any mis-step will mess up the
> repository, and the commands work in counter intuitive ways.
Give me a break! I said I am working on it, didn't I?
Ciao,
Dscho