Dear Masahiro,

In message <camhh57rx8vlz9fl6oxeyjmwwnsktg36dterenm0yvqclpru...@mail.gmail.com> 
you wrote:
> 
> I am trying to push to the newly-created u-boot-uniphier repo
> but I am in trouble.
> 
> masahiro@oscar:~/workspace/u-boot-uniphier$ git push 
> ssh://gu-uniph...@git.denx.de/u-boot-uniphier.git
...
> remote: error: By default, updating the current branch in a non-bare 
> repository
> remote: error: is denied, because it will make the index and work tree
> inconsistent

I recommend to always explicitly tell which branch you are trying to
push where.

For example, if your local branch which you are preparing for a pull
request is "for-upstream", then your push command would look like
this:

git push ssh://gu-uniph...@git.denx.de/u-boot-uniphier for-upstream:master

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: w...@denx.de
It is your destiny.                                     - Darth Vader
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to