デフォルトでは--bareじゃないレポジトリにpushしようとすると怒られる。自分一人の開発だとがんがんpushしても問題ないケースがある。
non-bareへのpushを許すには、リモートのレポジトリ上で
% git config receive.denyCurrentBranch ignore
を実行する。
Go to list of users who liked
Share on X(Twitter)
Share on Facebook
More than 5 years have passed since last update.
デフォルトでは--bareじゃないレポジトリにpushしようとすると怒られる。自分一人の開発だとがんがんpushしても問題ないケースがある。
non-bareへのpushを許すには、リモートのレポジトリ上で
% git config receive.denyCurrentBranch ignore
を実行する。
Register as a new user and use Qiita more conveniently
Go to list of users who liked