1. In the implementation of git
Execute git init
Execute git add .
It will appear when executing git commit -m "first commit"
git config --global user.email "[email protected]"
git config --global user.name "username"
This problem is due to the fact that the default user and emali are not set in git, which requires manual setting
1. Enter git config --global user.name "name"
2.git config --global user.email "mailbox"
3.git config -l
4. Add in the git configuration file config
[core]
username="name"
email="email"
can run successfully