"Android Deep Exploration" Vol. 1 Chapter III notes 1314 Wang Ning

Source: Internet
Author: User

Git is the Linux Kernel code for the source code to manage the operation of the software, and its various aspects should be superior to other similar source control software.

In the installationGitlater, viewgitdocument inLinuxYou can use theManscommand See instructions Help document;installationGit-docPost-InstallationGitthe text format andHTMLformat of the document, all documents are present/usr/sharedoc/git-docin the directory. You can use the following directives to view the specified document as text: "# git help <sub-command>"

Source code submission and acquisition, creating repository:git init. Anyone who wants to modifygitSource code in a managed server, you must use thegit clonecommand to create a local library that is identical to the remote repository. To submit a file to the local repository:git commitUsegitto manage files, submit the files to the local repository first. Re-execute "/demo/helloworld-git"directory, create aHelloworld.txtfile. To create a local branch:git branch, switch local branch:git checkout. The local branch is primarily to isolate the different parts of the main branch from modification. Switching between different local branches can be done by using thegit checkoutcommand implementation. FromGitHubDownload Source code:git cloneYou can use the command "# git clone [email protected]/helloworld.git]Download the project, use the command"# git pullorigin master"to get the latest content for the branch.

github Create project, is the current mainstream of the Span style= "Font-family:times New Roman;" >git hosting service provider, uploading source code to : gitpush title add key button add a public key

http://home.cnblogs.com/u/wn1314/

"Android Deep Exploration" Vol. 1 Chapter III notes 1314 Wang Ning

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.