Android Deep Exploration Experience (III)

Source: Internet
Author: User

Through the study of this chapter, the main learning is how to install git and source code extraction and access.

You should first install git before using Git. Many Linux systems have been brought with git. If your Linux system does not have Git installed, you can use the following method to install the latest version of Git.

Ubuntu Linux10.10 (Maverick) or newer version, you can use the following command to install Git.

#apt-get Install git

#apt-get Install Git-doc git-email GITK

The Git software includes most of the Git commands, which are the packages that must be installed. And part of the Git-doc, GIT-SVN, Git-gui, and git packages installed in the second statement, but because of the different dependencies of the package, it is released as a package separately. If you do not need to use these packages, you can not install them.

About extracting and retrieving source code:

Any version management software must have a repository that differs from how the repositories are managed by the software. The repository for Git's repository differs greatly from that of other version management software, such as CVS, SVN, and so on. Git's repository is divided into the local repository and the remote repository. You can use Git to manage source code versions without connecting to the Internet, in which case git communicates directly with the local repository, and then synchronizes the local repository to the remote repository when connecting to the Internet. Accessing the local repository does not require any permissions, which means that you are the local owner.

Android Deep Exploration Experience (III)

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.