triz-docs/docs/git-operations/netbeans/add-commit.md
2026-04-29 09:22:52 +01:00

54 lines
878 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
sidebar_position: 2
title: "Add & Commit Changes"
---
# Add & Commit Changes
---
# Add Changes
## Objective
Select modified files and place them into the staging area before committing.
## Steps
1. Modify one or more files in the project.
![Modified Files](img/2.png)
2. Right-click the project or file.
3. Select: **Git → Add**
![Git Add Menu](img/3.png)
4. Click the **Add** button.
---
# Commit Changes
## Objective
Save local changes to the local Git repository.
## Steps
1. Modify one or more files in the project.
![Modified Files for Commit](img/4.png)
2. Rightclick the project or file.
3. Select: **Git → Commit**
![Git Commit Menu](img/5.png)
4. The Commit dialog window opens.
5. Review the list of modified files.
6. Enter a commit message in the **Commit Message** field.
7. Click the **Commit** button.
![Commit Dialog](img/6.png)