Reading Notes Chapter III

Source: Internet
Author: User

Chapter III
Linux software is not directly in the binary form of the installation package provided, but directly provide the source code, the user needs to download the source code, and then on the computer to compile and install (general use make, make Install command).
Git is the source code control software.
Git steps to use:
Install Git.
To view a git document: Use the Man method.
Source code submission and acquisition: 1 Creating a repository: The Git init,git repository is very different from the repository of other version management software, and the Git repository is divided into the local repository and the remote repository. At the beginning of the project, use Git init to have an empty repository commonly used locally.
2 Commit the file to the local repository: Git commit, and create a helloworld.txt file in the Helloworld-git directory.
3 Create a local branch: Git branch, the person involved in the development will create a branch for each modification, so that after the modification the submission will not be the main branch of the audio code. After the submission is audited by a tester, the branch is merged into the main branch library.
4 switch local branch: Git checkout, the local branch is to isolate the different parts of the main branch from the modifications.
5 Create an open source project on GitHub, and if it's just a local operation that doesn't make sense, using git to manage your source code will use a remote git hosting server.
6 upload the source code to github:git push.
7 Download source code from github: Git clone.

Reading Notes Chapter III

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.