Mango iOS developer git add-a and git add-u, git Add.

Source: Internet
Author: User

Main content:

1, git add-a

2. Git Add.

3. Git add-u


I. Overview:

Git add is the first step in git code management to save modified code, but there are three git add commands that are commonly used in git, namely git add-a, git add-u, git Add. These three commands have roughly the same functionality, but there are a few different ways to look at the picture below:




Second, explain: The above illustration may not be clear enough, then look at the bottom of this picture:




Third, in the end with simple words summed up is:

1. Git add-a Save all changes

2. Git Add. Save new additions and modifications, but do not include deletion

3. Git add-u saves changes and deletes, but does not include new files.

As shown in figure:




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.