Android Deep Explore 3rd Chapter

Source: Internet
Author: User

Git-is written by the father of Linux, Linus, is a software for source code control. Linus has designed git in a file system expert and kernel designer perspective, and its unique design allows git to have exceptional performance and optimized storage capabilities, and Git is superior to other similar source control software in every way. While learning about Android and the Linux kernel, there is a lot of source code involved in driving the development process, and the code is managed by git, so learn about Git's rationale and basic usage before learning about Android porting and Linux driver development. installing git and viewing git documents is not difficult, but in the process of submitting and retrieving the source code, a complete example demonstrates how to create a repository, submit source code, create a branch, upload source code to a remote server, and get source code from a remote server.

(1) Create repository: Git IIT

(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 source code to Github:gh PUSH

(7) Download source code from github: Git clone

Android Deep Explore 3rd Chapter

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.