[git-users] Error on push repository

2015-04-07 Thread michel martins
Hi people, I'm trying push a git repository and it's showing me a error: refusing to update checked out branch: refs/heads/master by default, updating the current branch in a "non-bare" repository is denied , because it will make the index and work tree inconsistent with what you pushed, and wil

Re: [git-users] Error on push repository

2015-04-07 Thread michel martins
No, it's not. I solved the problem: git init --bare and the repo's name isn't 'origin'. But is this other question. Thanks, Magnus! -- 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 emai