On 7 April 2015 at 15:38, michel martins <michelmfrei...@gmail.com> wrote:
> 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 will require 'git reset --hard' to match
> I'm beginner in the git, and i'm having difficulty in this question. Can
> anybody help me? =)

I'm guessing the repo you are pushing to isn't a bare repo, is it?

In that case you can start with reading this:


Magnus Therning                      OpenPGP: 0xAB4DFBA4
email: mag...@therning.org   jabber: mag...@therning.org
twitter: magthe               http://therning.org/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 emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to