LoginSignup
11
8

More than 3 years have passed since last update.

Make sure you configure your ‘user.name’ and ‘user.email’ in git.が出てcommitが出来ない

Posted at

困ったこと

VScodeを使用してcommitをしようとした時にこのような文章が出てきて、commit ができなかった。

解決方法

Gitの「ユーザーネーム」と「メールアドレス」をそれぞれ設定する。

git config --global user.name "ユーザー名" 
git config --global user.email "メールアドレス"

コマンドを実行すると無事commitできるようになりました。

11
8
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
11
8