Cant publish my project on GitHub
Hi guys.
I can't publish my project on GitHub.It says
" Successfully created project 'Simple_Chatty_Bot' on GitHub, but initial commit failed: Author identity unknown *** 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. unable to auto-detect email address (got 'Pc@AlexDu.(none)"
Then when i try to write
"git config --global user.name "Dusan Aleksic" in Intellij Terminal
it says
"git : The term 'git' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the
path is correct and try again.
At line:1 char:1
+ git config --global user.name "Dusan Aleksic"
+ ~~~
+ CategoryInfo : ObjectNotFound: (git:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException"
I have already set bin and cmd path in Environment Variables.
Please help!!! I have been trying to fix this for days but i cant.
请先登录再写评论。
Please open the cmd or powershell in your Windows, and enter the `git` and run it.
Can you run the `git` command successfully from it? If not, try installing it to see if it helps?
If it works, try restarting the IDEA and check if you could run `git` from the command line or not now. After you add the git to PATH, you also need to restart the IDEA to let it know the new PATH environment Variables.