At present, the mainstream version management tools are mainly svn/git. SVN is one of 1 centralized code management tools, and Git is the 1 Distributed Code management tool that is widely loved by geeks. And based on the git GitHub is the whole universe yards of farmers to improve the force lattice, the necessary artifacts to delve into the technology. Here's how to host the project in Android studio to GitHub.
1. Using Git
1. First create 1 projects on GitHub:
2. Configure the GIT environment if the GIT environment in Android Studio has a problem configuring the setting configuration you can click on the test button on the right to see if the configuration was successful
If you do not download git, you can download it via Http://git-scm.com/download/win and then configure it.
3. Create a repository in a project that requires hosting
After clicking OK, the GUI did not respond but was created successfully.
4. Open the project directory for git bash switch
Use the following command to associate with GitHub
Git remote add Origin https://github.com/[username]/[project_name].git
The URL address can be obtained via the Copy button on the right
Operation:
5. Hosting a project to GitHub via Git
The first thing to do is git add:
Then commit
Fill in the submission information
Last push
Enter your GitHub account password
6. Oh yes
Projects that need to be hosted are uploaded to GitHub, and people all over the world can read
2, Android Studio also integrates the GitHub plugin, you can directly use the Gitbub:
1. Configure GitHub to fill in the GitHub account password
2. Hosting to GitHub
3.done:
Life is not easy, yards farming hard
If you feel that the content of this article is helpful to your study, you can donate by scanning QR code on your mobile phone.
Studio version management tool git (graphics tutorial)