Android Deep Explore (Vol. 1) HAL and Driver Development Chapter III git use getting started reading notes

Source: Internet
Author: User

Android Deep Exploration ( volume 1) HAL with the Driver Development Section three Chapters git Getting started with reading notes

This chapter is an overview of Git.

linux is an open-source system. In fact, in linux Many software is related to the underlying program and the kernel driver. , however linux The kernel has a lot of versions, If each version of the software is in the form of an installation package, matching so many versions of the installation package will be very large. So a lot of software is not installed and used in the form of binary installation package. Instead, the source code is downloaded and in each user's own linux The make and make Install command. and linus as linux git The performance and storage capabilities are the best of its kind, so many users use it as a source code management tool.

To install Git , you need to use the following code:

Apt-get Install git

Apt-get Install Git-doc git-svn git-email GIT-GITK

Looking at a Git document requires the following code:

Mans Git-checkout

The following steps are required for extracting and retrieving source code:

1. Create repository git init

2. submit the file to the local repository git commit

3. Create a local branch git branch

4. switch Local branch git checkout

5. Create an open source project on GitHub

6. upload the source code to GitHub : git push

7. Download source code git clone from GitHub

From the study in this chapter, I know that the source code embodies the original idea of the author, it is the key to learning Linux . So learning about git can quickly help me learn Linux.

Android Deep Explore (Vol. 1) HAL and Driver Development Chapter III git use getting started reading notes

Related Article

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.