👌
XcodeからパーミッションがなくてGitHubにPushできない
解決方法
Block command line pushes that expose my email
のチェックを外す
When you push to GitHub, we’ll check the most recent commit. If the author email on that commit is a private email on your GitHub account, we will block the push and warn you about exposing your private email.
エラーメッセージ
The remote repository rejected commits.
Make sure you have permission to push to the remote repository and try again.
背景
XcodeからGitHubにPushしようとしたら、エラーメッセージが表示されました。
GitHubの設定で、プライベートメールアドレスを公開しないようにするための機能があり、この機能が有効になっていると、XcodeからGitHubにPushできないらしいです。
参考
エラーメッセージで検索したらすぐ出てきます。
Git - The Remote Repository Rejected Commits
Discussion