リモートリポジトリへの git push に失敗した場合 (remote rejected)

現象 ローカルのgitリポジトリへ commit したあとに リモートリポジトリへの git push で下記のエラーが発生 remote: error: refusing to update checked out branch: refs/heads/master remote: error: By default, updating the current branch in a non-bare repository remote: error: is denied, because it will mak…