by shigemk2

当面は技術的なことしか書かない

Git push master fatal: You are not currently on a branch

Git push master fatal: You are not currently on a branch

エラーの文章いっぱいでてたけど、最後のコマンドを実行したらばうまく行きました。

fatal: You are not currently on a branch.
To push the history leading to the current (detached HEAD)
state now, use

    git push git@xxxx HEAD:<branch>

stackoverflow.com