Uploading projects to GitHub via Android studio

Source: Internet
Author: User
Tags git client

The first step is to download the GIT client and install

: https://git-for-windows.github.io/

The second step is to configure Git in Android Studio (note that the C:\Program Files\git\bin\git.exe in the first image is the bin directory of my Git installation) and the GitHub account (if not, you need to register on GitHub earlier)

Click Test and the successful! will pop up

Step three, upload the project

The first time you upload a prompt, such as the upper right corner, display the library has been created, but the code is not uploaded.

* 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 Defau Lt identity. Omit–global to set the identity is only in this repository. Fatal:empty ident name (for) not allowed during executing git-c core.quotepath=false commit-m "Initial commit xxx" –
    

My solution:

Repeat the third step again, you will be prompted to enter the Hgithub account password interface, and then succeeded. can also be seen on GitHub.

There is another solution on the Internet: http://blog.csdn.net/baidu_17313961/article/details/52068846

Uploading projects to GitHub via Android studio

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.