54 lines
878 B
Markdown
54 lines
878 B
Markdown
---
|
||
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.
|
||
|
||

|
||
|
||
2. Right-click the project or file.
|
||
3. Select: **Git → Add**
|
||
|
||

|
||
|
||
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.
|
||
|
||

|
||
|
||
2. Right‑click the project or file.
|
||
3. Select: **Git → Commit**
|
||
|
||

|
||
|
||
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.
|
||
|
||

|