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

90 lines
1.6 KiB
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: 3
title: "Push & Pull Changes"
---
# Push & Pull Changes
---
# Push Changes
## Objective
Send committed changes from the local repository to the remote repository.
## Steps
1. Ensure at least one commit exists locally.
2. Rightclick the project.
3. Select: **Git → Remote → Push**
![Git Push Menu](img/7.png)
4. The Push dialog window opens.
5. Verify the remote repository then click **Next**.
![Push Dialog Step 1](img/8.png)
6. Verify the local branches then click **Next**.
![Push Dialog Step 2](img/9.png)
7. Click the remote branches then click **Finish**.
![Push Dialog Step 3](img/10.png)
---
# Push Changes (Upstream)
## Objective
Send committed changes from the local repository to the remote repository.
## Steps
1. Ensure at least one commit exists locally.
2. Rightclick the project.
3. Select: **Git → Remote → Push to Upstream**
![Push to Upstream](img/11.png)
---
# Pull Changes
## Objective
Retrieve updates from the remote repository and merge them into the local repository.
## Steps
1. Rightclick the project.
2. Select: **Git → Remote → Pull**
![Git Pull Menu](img/12.png)
3. Verify the remote repository then click **Next**.
![Pull Dialog Step 1](img/13.png)
4. Verify the remote branches then click **Next**.
![Pull Dialog Step 2](img/14.png)
---
# Pull Changes (Upstream)
## Objective
Retrieve updates from the remote repository and merge them into the local repository.
## Steps
1. Rightclick the project.
2. Select: **Git → Remote → Pull from Upstream**
![Pull from Upstream](img/15.png)