Git operations in the white eyes, git operations in the white eyes

Source: Internet
Author: User

Git operations in the white eyes, git operations in the white eyes

During git's learning process, many detours have taken place, and now we have a preliminary understanding of git.

The command I used in the project:

 

1. git clone ****** Note: *** indicates the Project address on GitLab. The meaning of this sentence is: Clone the project from GitLab to local.

2. git add. add the file to the temporary storage area.

3. git commit: Submit the files in the temporary storage area to the local repository.

4. git pull code from the remote repository to the local repository

5. git push pushes the code of the local repository to the remote repository.

This is the git command I used in my work without accident. Of course, there are more advanced commands. I will share them later.

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.