# Git: Commit Dialog Box

The Commit dialog box enables you to commit files to the Git repository.

In the Commit dialog box, you have to set the following properties:

Property | Description
--- | ---
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. 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 Task | Track tasks related to the change being committed using the following fields:
Task Repository | Choose a task repository from the list or press New to create a task repository.
Task | Specify the task using its summary or ID.
Resolve as Fixed | Select to change a task status to Resolved Fixed.
Add details to commit message and task | 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.

Related Topics

Developing Applications with NetBeans IDE,

Copyright © 2016, Oracle and/or its affiliates. All rights reserved.