Git: Commit

Commits a file (located in the staging area) to your Git repository. If any files have not yet been saved, you are prompted to save the files before this dialog box is displayed.

You can commit an individual file or selected multiple files. If you want to commit all uncommitted files (as opposed to selecting from all the available files) in one operation, select Team > Git > Commit All.

Name and Location: Name and physical locations of the file that will be committed to the repository.

Commit Non-Staged Files: Lets you commit a file that you have not yet staged (that is, files not yet on a staged index list).

Comments: Comments to accompany the commit action. You will later be able to see these comments when viewing the list of versions of a particular file.

Template or Previous Comments: A template with comment text for the Comments box. You can make general changes and additions to the comment templates by clicking the link to comment templates.

Related Topics

Using Versioning