Resolve upload to GitHub error successfully created project ' Autotest ' on GitHub, but initial commit failed:

Source: Internet
Author: User

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:

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.