I have not touched GitHub for a long time, this is my junior developers often forget that GitHub actually has a lot of good examples and source code, today is called to configure GitHub and other development environment when suddenly forget how to use GitHub to develop a lot of people, or needs bark thick to Baidu (the embarrassment of capital)
Two. First we use GitHub as a code base, there are two ways to create a code base
Be sure to configure your GIT environment and create your GitHub account.
Detecting git environment configuration
Detect if a GitHub account can log in
Success will be
(1) Create a code base directly in GitHub, and then when you need to submit the code to the warehouse in Androidstudio, a box with the name of the code base will be popped up.
then enter
And then
And then
The upper right corner of the promotion successful is OK.
(2) using Git tools directly in Androidstudio to GitHub, as will automatically generate the code base, the name of the library is the same as the project name.
The name of the library is the same as the project name
A successful submission will elevate successful and version control to have a GitHub connection to the upgrade and library.
Three. Pull people into GitHub code base
First login to GitHub into the library of the demo you just uploaded
Then it will generate a page and connection, connect to the person just pulled, let him agree to enter the library.
And then you can have fun at Androidstudio.
Androidstudio How to use GitHub to develop multiple people