GitHubのコミットエラー で『お前誰やねん』と怒られた時の対処法 Commit failed – exit code 128 received, with output: ‘*** Please tell me who you are.
どうもかずきです!
GitHubのコミットエラー で『お前誰やねん』と怒られた時の対処法
個人開発などしているとGitHubで管理することが多いと思うのですが、普段通りGitHubDesktop上でコミットしようとした時
GitHubDesktopさん
Commit failed – exit code 128 received, with output: ‘*** Please tell me who you are.
Run
git config –global user.email “you@example.com”
git config –global user.name “Your Name”
to set your account’s default identity.
Omit –global to set the identity only in this repository.
fatal: unable to auto-detect email address (got ‘xxx@xxxxxxx.(none)’)’
と怒られたって経験あるかも知れません
要するにこれは『お前誰やねん』と言われています
つまりそれを解決してあげれば良いわけですが、、、
gitで自分の情報を登録できていないときに起こるエラーということ
"git config –global user.email “you@example.com” git config –global user.name “Your Name”"
に書いてある通り、メールアドレスとユーザーネームを設定してあげましょう!
以下のように記述して下さい
ターミナル
$ git config user.email メールアドレスをここに記述 $ git config user.name ユーザーネームをここに記述
この後再度コミットを実行すると上手く行くかと思います
それでは!