My github isn't working. Please help me. #49815
-
My github can't commit to main. *** Please tell me who you are. Run git config --global user.email "[email protected]" to set your account's default identity. fatal: unable to auto-detect email address (got 'gng@DESKTOP-R4H9NU7.(none)') |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 6 replies
-
Step 1: set user email git config --global user.email "[email protected]" Step 2: set user name git config --global user.name "user name" |
Beta Was this translation helpful? Give feedback.
-
The error message suggests that Git is unable to detect your email address and author identity. To resolve this issue, you need to set your email address and username in Git. Here are the steps you can follow: Open the command prompt or terminal on your computer. Run the following commands, replacing "[email protected]" with your email address and "Your Name" with your username:
This will set your account's default identity globally, meaning that it will be used for all repositories on your computer. If you want to set your identity only for the current repository, remove the --global flag from the command. Try to commit your changes again. This time, Git should recognize your identity and allow you to commit to the main branch. |
Beta Was this translation helpful? Give feedback.
This comment was marked as off-topic.
This comment was marked as off-topic.
-
Please! #AccountStatusReviewed |
Beta Was this translation helpful? Give feedback.
The error message suggests that Git is unable to detect your email address and author identity. To resolve this issue, you need to set your email address and username in Git. Here are the steps you can follow:
Open the command prompt or terminal on your computer.
Run the following commands, replacing "[email protected]" with your email address and "Your Name" with your username:
This will set your account's default identity globally, meaning that it will be used for all repositories on your computer. If you want to set your identity only for the current repository, remove the --global flag from the c…