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