Upload code via idea to GitHub but sometimes you get the problem.
When we choose Vcs->import to Version control->share Project on GitHub to submit the code. Click OK. Then you jump out of this message:
Can ' t finish GitHub sharing process
Successfully created project ' Autotest ' on GitHub, but initial commit failed:
Please tell me who is you. Run git config--global user. email "[Email protected]" git config--global user.name "Your name" to set Your account ' s default identity. Omit--global to set the identity of the This repository. Fatal:empty ident name (for (null) >) is not allowed during executing git-c core. quotepath=false commit-m "Initial commit"--
Look at the wrong reason: Run git config--global user. email "[Email protected]" git config--global user.name "
This is why GitHub is not configured, the workaround is as follows.
1. Locate the Git-bash executable file in the directory where you installed Git
2. Set the user name and email address, such as:
--Global user. "Your name"--global user. "[Email protected]"
Resolve upload to GitHub error successfully created project ' Autotest ' on GitHub, but initial commit failed: