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)