The third chapter is about getting started with git. I understand that git is a good source code management software, other similar software has CVR, SVN and so on. It is used to manage Android and
A lot of source code involved in the Linux kernel, the driver development process. If you want to participate in the development of the Linux kernel, then git becomes a compulsory course.
If the Linux system does not have a git, you can use the following method to switch to the latest version of Git.
#apt-get Install git
#apt-get Install Git-doc git-svn git-email Git-gui gitk
Under Linux, you can use the Man command to view the help document for a specified command (press the Q key to exit Help).
The third section gives a complete example of how to create a repository, submit source code, upload source code to a remote server, and get source code from a remote server.
Git's repository differs greatly from the way other repositories are organized. Git's repository is divided into local and remote repositories. Because the source code project may be done by many people together,
As a result, Git provides a branching concept. In other words, the person participating in the development creates a branch for each modification so that the commit does not affect the code of the main branch after the modification.
Local branches are designed to isolate changes to different parts of the main branch. Use the git checkout command to switch between different local branches. It is meaningless if you only operate locally.
Using Git to manage your source code will use a remote git hosting server. GitHub was used in 3.3.5 to host the files created above (helloworld.txt). GitHub is an eye
A popular Git hosting service provider.
Read "Android Deep Exploration (Volume 1) HAL and drive Development" some thoughts 03