Add, Commit and Push

This is an important command. Once you have edited your files and you want to make sure that rest of the members of this Repository also needs to know the changes you have done, then this is what you would usually do.

A dialog is presented to you. Inside that you would need to enter which files to add. Usually writing -A is sufficient. That means ALL the changed or added files in the repository. Not just in the main folder of the repositories but anywhere in the sub-folders too. This will also add deletions (explained later)

Give a good commit title and a reasonable commit message. You may get a default message on the changes you had made. But it would be nice to add your own thoughts too as others would read such commit messages and get to know what changes you may have made

NOTE: If you had deleted some file or files in this repository, such a push would also ensure it gets deleted from the central repository. Therefore when the rest of members of this repository pulls that repository, the respective deleted files would get deleted at their ends too.


Learn the concepts | Table of Contents

gitaddsend.txt ยท Last modified: by reshma