GitHubでcommit時、*** Please tell me who you are.エラーが発生する

GitHubで初めてコミットする時に、以下のようなエラーが出る場合があります。

*** 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 'account@PC-NAME.(none)')

指示通りにe-mailを登録します。

git config --global user.email "sample@exsample.com"

これはGitHubの初期設定になります。

コメント

株式会社CONFRAGE ITソリューション事業部をもっと見る

今すぐ購読し、続きを読んで、すべてのアーカイブにアクセスしましょう。

続きを読む

タイトルとURLをコピーしました