Studio version management tool git (graphics tutorial)

Source: Internet
Author: User
Tags hosting

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)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.