Android Deep Explore Chapter III

Source: Internet
Author: User

This chapter is about Getting startedwith git , a source code control written by the father of Linux. And is used by many famous projects. Its unique design gives Git Exceptional performance, the most optimized storage capability, and superior to other source code management software. Therefore, the study of this part is very important for the whole learning process.

First we need to install git, general computer Linux system with git, if not, you can complete the download by means of the book. Once the download is complete, you can view the Git document directly using the man command .

Git is very complex, we need to complete the functions are: Create a repository, submit source code, create a branch, to the remote server to submit source code, from the remote server to obtain source code and so on. The lesson of this chapter is to learn how to use Git to get the source code from a source-code hosting server.

1 Creating a version library

The Git repository differs from other source control repositories in that it is a local repository and a remote repository, and is the owner of the local repository.

2 submitting a file to the local repository

3 Creating a local branch:git branch

4 Switch Local branch:git checkout

5 creating an open source project on GitHub

6 uploading source code to GitHub

7 Download source code from GitHub :Git Clone

While GIt is not the technology to learn about Android porting and Linux Kernels, it is essential to drive development, but to delve deeper into the underlying technology, is also an essential technology. git 's near-perfect concept and high performance are well-loved by technicians, and more and more open source projects are migrating to Git , and these open source projects are undoubtedly huge treasures.

My Blog Park address

http://www.cnblogs.com/liang0202/

Android Deep Explore Chapter 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.