Git-byLinuxthe FatherLinuswriting, is a source code control software. Linusfrom the perspective of a file system expert and a kernel designerGitdesign, its unique design allowsGitwith exceptional performance and optimized storage capabilities,Gitin all respects is superior to other similar source control software. In learningAndroidandLinuxkernel, the process of driving development involves a lot of source code, and the code isGitmanagement, and therefore, in learningAndroidTransplant andLinuxUnderstanding before driving developmentGittheory and basic methods of use. InstallationGitand viewGitThe document is not difficult, and in the process of submitting and obtaining 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 codefrom GitHub :git clone
Git is not the technology to learn about Android porting and Linux kernel-driven development, but for those who want to delve deeper into these underlying technologies,git will be an essential tool in the learning process. Linux is completely managed by git , and it's impossible not to master git .
http://home.cnblogs.com/u/zivjeli/
Android Deep Exploration (Vol. 1) HAL and Driver Development Chapter III Summary