Git: Commit Dialog Box
See Also
The Commit dialog box enables you to commit files to the Git repository.
You access this dialog box by selecting a versioned project, file or folder and either:
- choose Team > Git > Commit from the main menu.
- right-click the selected item and choose Git > Commit.
In the Commit dialog box, you have to set the following properties:
- Commit Message: Enter description of the change being committed. Click the Recent Messages button to view and select from a list of messages that you have previously entered. Click the Load Template button to select a message template.
- Author: Specify who made the change.
- Comitter: Specify who physically committed the file(s).
- Files to commit: Clicking the Changes between HEAD and Index button displays a list of files that are staged. Clicking the Changes between HEAD and Working Tree button displays a list of files that are either already staged or only modified/created and not staged yet.
- Commit. Deselect to exclude individual files from the commit.
- File. Lists all files that are either:
- new
- renamed
- modified
- deleted in the Working Tree (locally)
- Status. Displays two status values for a file:
- a status describing differences between the file's Working Tree and Index state (to the left of the slash)
- a status describing differences between the file's Index state and current HEAD commit (to the right of the slash)
- Commit Action. Displays Commit if the file is selected or Exclude from Commit if the file is deselected in the Commit column.
- Repository Path. Displays path to the file in your local repository.
Note:
- Right-click a file row to display the following popup menu items:
- Exclude From Commit/Include In Commit. Select to either exclude the file from the commit or include it into the commit.
- Diff. Select to display the Diff Viewer.
- Update Issue:
Track issues related to the change being committed using the following fields:
- Issue Tracker. Choose an issue tracker from the list or press New to create an issue tracker.
- Issue. Specify the issue using its summary or ID.
- Resolved as Fixed. Select to change an issue status to Resolved Fixed.
- Add details to commit message and issue. Select to provide an enhanced commit description.
- After Commit. Choose to update an issue after the commit.
- After Push. Choose to update an issue after the push.
- See Also
- About Git Support
- Git Tasks: Quick Reference
- Committing Sources to a Repository
Legal Notices