Android Studio usage notes: Git configuration and first submission to repository, androidgit
Git client URL: http://git-scm.com/download/
Download the corresponding client based on your own platform. Take the Mac system AS an example. After the client software is installed and configured, open the AS configuration panel and find the Git option.
Find the Git executable program in the Path to Git executable on the right and click the Test button on the right.
The prompt indicates that the configuration is successful.
My network is very slow, so I didn't use github. Instead, I used git.oscchina.net in China. below is the process of linking oscchina in AS. I am not very good at it, and the steps are complicated.
Apply for an account on the git.oscchina.net website and create a project. The process is no longer mentioned.
After creating a project, submit it for the first time
For example, right-click the Git menu and select Enable Version Control Integration.
Select Git from the drop-down list and click OK.
The files in the Module are red. Select a project and right-click it to add it to the submit list.
If you find that the submitted update is rejected, you can find all the hidden Folders ". git" in the directory where the rejected file is located, and then delete it.
If the application is rejected upon the first submission, perform the Pull action first, download the README. md file of the Project repository created on the server, and then Push it.