GIT - getting 'receive.denyCurrentBranch' pushing to bare repo
===

Have a remote git bare repo that onto which I've pushed a branch from one machine, and pulled to another machine.

Made some changes on the other machine, trying to push those changes back to the remote bare repo, and I get the 'receive.denyCurrentBranch' error.

What's going on?

This isn't supposed to happen on a bare repo - there's nothing checked out on it.


The branches as seen from machine 2 are:

    Fix
    dev1
    dev2
    remotes/origin/HEAD -> origin/dev1
    remotes/origin/Fix
    remotes/origin/dev1
    remotes/origin/dev2
    remotes/origin/master

'Fix' is the current branch on both dev machines.

When I originally pulled that branch on machine 2, I did:

    git pull
    git checkout -b Fix origin/Fix


I'm suspicious of the first 'remotes' line - seems that the HEAD should be pointing to my current branch, but it isn't.  Think I'm missing something, here..