Prerequisites:
1. Install the Git client download link
2 a GitHub account
(assuming you already have some git basics, if not at all, go to other bonus learning)
Androidstudio Project released to GitHub
1. Create a new project in Androidstudio (don't know!)
2. Settings: Settings, Version Control, git, set git directory, click Test, if successful there will be success hint
3. Settings: settring, VersionControl, GitHub, set your own github account, password, click Test, if successful there will be success prompt
4. Share project: VCS, Import into Version Control---Share project on GitHub, click to Start setting Repository name (if you have set up Masterpasswo Rd will pop up a dialog box to fill in the password.)
After clicking on share, you'll be able to see the new warehouse on GitHub.
Version control Git can also be seen in Androidstudio under CVS:
This is already set up successfully. As for how to use, that is, git add, git commit, git push ... Operation, the next blog post again.
5. If you want to disassociate, you only need to settrings, Version Control to delete the association.
Using Git in Windows Androidstudio (Androidstudio project is associated with GitHub)
Using Git in Windows Androidstudio (Androidstudio project is associated with GitHub)