Android Studio commits git for the first time using

Source: Internet
Author: User

Installation:

git client URL:http://git-scm.com/download/

Download the corresponding client based on your own platform. Here, for example, Mac system, when the client Software installation configuration is complete, open as configuration panel, find git options

On the right side of Path to git executable find the executable program of GIT and click the Test button on the right.

The prompt that appears proves that we have successfully configured it.

My network is very slow, so no use of GitHub, but the use of domestic git.oscchina.net, the following is the link in as in the process of Oscchina, I am not very good, the steps are cumbersome.

Start by applying for an account on the Git.oscchina.net website and then create a project. The process is no longer said.

After the new project, the first time to submit

If you first activate the right-click Git menu, select Enable Version Control Integration

Update:

To update the files in the new Git repository with pull

The . Gitignore file does not have to be updated, based on your local file

Submit:

Select Git in the dropdown box and click OK.

The files in the Module become red. Select the item and right-click to add it to the submission list.

Then choose Commit Directory ...

The Commit Message is required here. Click the Commit button. Then again like select Push ...

(If you select Commit and Push, skip directly)

The first time you need to set up a remote host, the [email protected] Warehouse HTTPS connection copy to the URL.

Finally, select the item you want to submit and click the Push button.

If you find that the commit update is denied, you can find all the hidden folders in the directory where the rejected files are located . Git , and then delete.

Android Studio commits git for the first time using

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.