Android Deep Exploration (Vol. 1) HAL and Driver Development Chapter III reading experience

Source: Internet
Author: User

Git installation: Git is the first thing to install before you use Git. Many Linux systems have been brought with git. If your reader's Linux does not have Git installed, you can use the following method to install the latest version of Git.

Ubuntu Linux 10.10 or later, you can use the following command to install Git.

#apt-get Install git

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

Ubuntu Linux 10.04 or lower version.

You need to use the following command to download git for version control.

#apt-get Install Git-core

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

RHEL, fedora, and cent OS.

If your readers use Rhel, fedora, and CentOS, you can install git using the following command.

#yum Install git

#yum Install Git-doc git-svn git-email Git-gui gitk

Ways to view git documents: Under Linux, you can use the Man command to view the help documentation for the specified command. To query the Help documentation for the Git-checkout command, you can use the following command.

#man Git-checkout

Execute the above command line, will display the Help information on the Linux terminal, press "Q" key to exit the help.

After installing Git-doc, Git's text format and HTML-formatted documents are installed, and all documents exist in the/usr/share/doc/git-doc directory. You can use the following command to view the specified document as text.

#git Help <sub–command>

To query the documentation for the Git-checkout command, use the following command.

#git Help Git-checkout

After executing the above command, the Help information is displayed on the Linux terminal. If you want to see a document in HTML format, you need to use the following command.

#git help–w Git-checkout

Executing the above command line will display the help information for the Git-checkout command in the browser.

Source code submission and acquisition steps: (1) Create repository: Git init, (2) Commit files to local repository: Git Commit, (3) Create local branch: Git branch; (4) Switch local branch: Git checkout ; (5) Create open source project on GitHub, (6) Upload source code to github:git push, (7) Download source code from github: Git clone.

Android Deep Exploration (Vol. 1) HAL and Driver Development Chapter III reading experience

Related Article

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.