Android Deep Exploration--chapter III reading notes and experiences

Source: Internet
Author: User

Understand Git

--Chapter III reading notes and experiences

The understanding of Android has only started this semester, so it is not enough to know too little. For Linux Although after a semester of study, after a tense training, but not much understanding. But I finally know that Android and Linux are open source, which is what many teachers have told us. While git is not the technology to learn about Android and Linux development, we should try to master this technology in order to learn the technology well. As the book says, the way to learn new technology is not blindly reading, only on paper. More should be in-depth understanding of the source code of interest, through the code to understand the author of the real idea of the programmer, design ideas, to achieve a true convergence of thought. Although I know it is difficult for me to do this, sometimes look at some slightly longer code will be a headache, but I believe that in the future in continuous learning, and constantly practice the ignorance into the past.

So git is very important to us. So I learned the content of this chapter seriously, know how to only install Git, how to view git documents (various types of documents to view the way). Know the steps to submit and get the source code.

Installing Git can be done with the following code:

#apt-get Install git

#apt-get Install Git-doc git-svn git-email Git-gui gitk

In Linux, you can view the help documentation for a specified document directly using man. such as "# Man git-checkout." The way to view documents as text should be "# Git help <sub-command>". The way to view documents in HTML format should be "# git help–w git-checkout".

Submit and get source code should

(1) Build repository (git init)

(2) files should be submitted to the local repository (git common)

(3) Create local branch (GIT branch)

(4) Switch to local branch (git checkout)

(5) Create an open source project on GitHub

(6) Upload source code to github:git push

(7) Download source code from GitHub: Gir clone

Blog Park Address: http://www.cnblogs.com/zhanghui9505/

Android Deep Exploration--chapter III reading notes and experiences

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.