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