Compare commits
No commits in common. "6010b9614688f4bb8eaa8a40276bcf26cf349ba1" and "1aee2c37ecb134abfe9fa02ef94173c4f26c1a66" have entirely different histories.
6010b96146
...
1aee2c37ec
@ -1,8 +0,0 @@
|
||||
{
|
||||
"label": "Git Operations",
|
||||
"position": 3,
|
||||
"link": {
|
||||
"type": "generated-index",
|
||||
"description": "Guides for performing Git operations using various tools and environments."
|
||||
}
|
||||
}
|
||||
@ -1,8 +0,0 @@
|
||||
{
|
||||
"label": "Command-Line",
|
||||
"position": 3,
|
||||
"link": {
|
||||
"type": "generated-index",
|
||||
"description": "Guide for performing Git operations using the command-line interface."
|
||||
}
|
||||
}
|
||||
@ -1,48 +0,0 @@
|
||||
---
|
||||
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. In the terminal, check the status of the repository: `git status`
|
||||
|
||||

|
||||
|
||||
3. Add files to the staging area: `git add .`
|
||||
|
||||

|
||||
|
||||
4. Verify that files are staged: `git status`
|
||||
|
||||

|
||||
|
||||
---
|
||||
|
||||
# Commit Changes
|
||||
|
||||
## Objective
|
||||
|
||||
Save local changes to the local Git repository.
|
||||
|
||||
## Steps
|
||||
|
||||
1. Ensure files are staged.
|
||||
2. Enter the commit command with a message: `git commit -m "Your commit message"`
|
||||
|
||||

|
||||
|
||||
3. Verify the commit: `git log --oneline`
|
||||
|
||||

|
||||
|
Before Width: | Height: | Size: 46 KiB |
|
Before Width: | Height: | Size: 48 KiB |
|
Before Width: | Height: | Size: 16 KiB |
|
Before Width: | Height: | Size: 104 KiB |
|
Before Width: | Height: | Size: 28 KiB |
|
Before Width: | Height: | Size: 115 KiB |
|
Before Width: | Height: | Size: 156 KiB |
|
Before Width: | Height: | Size: 162 KiB |
@ -1,16 +0,0 @@
|
||||
---
|
||||
sidebar_position: 1
|
||||
title: "Prerequisites"
|
||||
---
|
||||
|
||||
# Prerequisites
|
||||
|
||||
---
|
||||
|
||||
## Steps
|
||||
|
||||
1. Install Git on the system.
|
||||
2. Open a terminal or command prompt.
|
||||
3. Navigate to the project directory that is already connected to a Git repository.
|
||||
|
||||

|
||||
@ -1,37 +0,0 @@
|
||||
---
|
||||
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. Execute the push command: `git push`
|
||||
|
||||

|
||||
|
||||
---
|
||||
|
||||
# Pull Changes
|
||||
|
||||
## Objective
|
||||
|
||||
Retrieve updates from the remote repository and merge them into the local repository.
|
||||
|
||||
## Steps
|
||||
|
||||
1. Execute the pull command: `git pull`
|
||||
|
||||

|
||||
|
||||
2. Review the output for updates or merge results.
|
||||
@ -1,8 +0,0 @@
|
||||
{
|
||||
"label": "JetBrains IDEs",
|
||||
"position": 2,
|
||||
"link": {
|
||||
"type": "generated-index",
|
||||
"description": "Step-by-step guide for Git operations within JetBrains IDEs (IntelliJ IDEA, WebStorm, PyCharm, etc.)."
|
||||
}
|
||||
}
|
||||
@ -1,58 +0,0 @@
|
||||
---
|
||||
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. Open the **Commit** window using one of the following methods:
|
||||
1. Click the **Commit** icon in the left toolbar
|
||||
2. Or press: **Ctrl + K**
|
||||
|
||||

|
||||
|
||||
3. The Commit window opens.
|
||||
|
||||

|
||||
|
||||
4. Select the files to stage using the checkboxes.
|
||||
5. Ensure the files appear in the **Changes** section.
|
||||
|
||||

|
||||
|
||||
---
|
||||
|
||||
# Commit Changes
|
||||
|
||||
## Objective
|
||||
|
||||
Save local changes to the local Git repository.
|
||||
|
||||
## Steps
|
||||
|
||||
1. Ensure files are staged.
|
||||
2. Enter a commit message in the **Commit Message** field.
|
||||
3. Click the **Commit** button.
|
||||
|
||||

|
||||
|
||||
4. After a successful commit, you should get the following notification.
|
||||
|
||||

|
||||
|
||||
**NOTES:**
|
||||
- There is no way to change or verify the committer's name in JetBrains IDEs, you must do so via the command line.
|
||||
|
Before Width: | Height: | Size: 61 KiB |
|
Before Width: | Height: | Size: 4.5 KiB |
|
Before Width: | Height: | Size: 56 KiB |
|
Before Width: | Height: | Size: 10 KiB |
|
Before Width: | Height: | Size: 3.1 KiB |
|
Before Width: | Height: | Size: 22 KiB |
|
Before Width: | Height: | Size: 27 KiB |
|
Before Width: | Height: | Size: 27 KiB |
|
Before Width: | Height: | Size: 32 KiB |
|
Before Width: | Height: | Size: 15 KiB |
|
Before Width: | Height: | Size: 10 KiB |
|
Before Width: | Height: | Size: 40 KiB |
|
Before Width: | Height: | Size: 22 KiB |
@ -1,15 +0,0 @@
|
||||
---
|
||||
sidebar_position: 1
|
||||
title: "Prerequisites"
|
||||
---
|
||||
|
||||
# Prerequisites
|
||||
|
||||
## Steps
|
||||
|
||||
1. Open a JetBrains IDE.
|
||||
2. Open the project that is already connected to a Git repository.
|
||||
3. Ensure the project appears in the **Project** panel.
|
||||
4. Ensure Git integration is enabled.
|
||||
|
||||

|
||||
@ -1,52 +0,0 @@
|
||||
---
|
||||
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. Use one of the following methods:
|
||||
1. Click: **Git → Push**
|
||||
2. Or press: **Ctrl + Shift + K**
|
||||
|
||||

|
||||
|
||||
2. Verify the remote repository and branch then click the **Push** button.
|
||||
|
||||

|
||||
|
||||
3. After a successful push, you should get the following notification.
|
||||
|
||||

|
||||
|
||||
---
|
||||
|
||||
# Pull Changes
|
||||
|
||||
## Objective
|
||||
|
||||
Retrieve updates from the remote repository and merge them into the local repository.
|
||||
|
||||
## Steps
|
||||
|
||||
1. Click: **Git → Pull**
|
||||
|
||||

|
||||
|
||||
2. Verify the remote branch then click **Pull**.
|
||||
|
||||

|
||||
|
||||
3. After a successful pull, you should get the following notification.
|
||||
|
||||

|
||||
@ -1,8 +0,0 @@
|
||||
{
|
||||
"label": "Apache NetBeans",
|
||||
"position": 1,
|
||||
"link": {
|
||||
"type": "generated-index",
|
||||
"description": "Step-by-step guide for Git operations within the Apache NetBeans IDE."
|
||||
}
|
||||
}
|
||||
@ -1,53 +0,0 @@
|
||||
---
|
||||
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.
|
||||
|
||||

|
||||
|
Before Width: | Height: | Size: 36 KiB |
|
Before Width: | Height: | Size: 19 KiB |
|
Before Width: | Height: | Size: 30 KiB |
|
Before Width: | Height: | Size: 26 KiB |
|
Before Width: | Height: | Size: 31 KiB |
|
Before Width: | Height: | Size: 18 KiB |
|
Before Width: | Height: | Size: 28 KiB |
|
Before Width: | Height: | Size: 22 KiB |
|
Before Width: | Height: | Size: 19 KiB |
|
Before Width: | Height: | Size: 22 KiB |
|
Before Width: | Height: | Size: 21 KiB |
|
Before Width: | Height: | Size: 42 KiB |
|
Before Width: | Height: | Size: 48 KiB |
|
Before Width: | Height: | Size: 41 KiB |
|
Before Width: | Height: | Size: 19 KiB |
@ -1,14 +0,0 @@
|
||||
---
|
||||
sidebar_position: 1
|
||||
title: "Prerequisites"
|
||||
---
|
||||
|
||||
# Prerequisites
|
||||
|
||||
## Steps
|
||||
|
||||
1. Open NetBeans.
|
||||
2. Open the project that is already connected to a Git repository.
|
||||
3. Ensure the project appears in the **Projects** window.
|
||||
|
||||

|
||||
@ -1,89 +0,0 @@
|
||||
---
|
||||
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. Right‑click the project.
|
||||
3. Select: **Git → Remote → Push**
|
||||
|
||||

|
||||
|
||||
4. The Push dialog window opens.
|
||||
5. Verify the remote repository then click **Next**.
|
||||
|
||||

|
||||
|
||||
6. Verify the local branches then click **Next**.
|
||||
|
||||

|
||||
|
||||
7. Click the remote branches then click **Finish**.
|
||||
|
||||

|
||||
|
||||
---
|
||||
|
||||
# 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. Right‑click the project.
|
||||
3. Select: **Git → Remote → Push to Upstream**
|
||||
|
||||

|
||||
|
||||
---
|
||||
|
||||
# Pull Changes
|
||||
|
||||
## Objective
|
||||
|
||||
Retrieve updates from the remote repository and merge them into the local repository.
|
||||
|
||||
## Steps
|
||||
|
||||
1. Right‑click the project.
|
||||
2. Select: **Git → Remote → Pull**
|
||||
|
||||

|
||||
|
||||
3. Verify the remote repository then click **Next**.
|
||||
|
||||

|
||||
|
||||
4. Verify the remote branches then click **Next**.
|
||||
|
||||

|
||||
|
||||
---
|
||||
|
||||
# Pull Changes (Upstream)
|
||||
|
||||
## Objective
|
||||
|
||||
Retrieve updates from the remote repository and merge them into the local repository.
|
||||
|
||||
## Steps
|
||||
|
||||
1. Right‑click the project.
|
||||
2. Select: **Git → Remote → Pull from Upstream**
|
||||
|
||||

|
||||
@ -164,21 +164,6 @@ h1 {
|
||||
margin-top: 2.5rem;
|
||||
}
|
||||
|
||||
.markdown img {
|
||||
display: block;
|
||||
margin: 2.5rem auto;
|
||||
border-radius: 0.75rem;
|
||||
box-shadow: 0 12px 40px var(--tt-glow-color);
|
||||
border: 1px solid var(--tt-border-color);
|
||||
max-width: 100%;
|
||||
height: auto;
|
||||
transition: transform 0.3s ease;
|
||||
}
|
||||
|
||||
.markdown img:hover {
|
||||
transform: scale(1.01);
|
||||
}
|
||||
|
||||
/* Tables */
|
||||
table {
|
||||
display: table;
|
||||
|
||||
@ -18,12 +18,6 @@ const categories = [
|
||||
description: 'Our standard development workflow — from task assignment through branching, rebasing, and merging.',
|
||||
link: '/docs/category/developer-task-workflow',
|
||||
},
|
||||
{
|
||||
title: 'Git Operations',
|
||||
icon: '🐙',
|
||||
description: 'Master Git operations across different tools like Apache NetBeans, JetBrains IDEs, and the Command-Line.',
|
||||
link: '/docs/category/git-operations',
|
||||
},
|
||||
];
|
||||
|
||||
function CategoryCard({title, icon, description, link}) {
|
||||
|
||||