update md file & added screenshots

This commit is contained in:
2025-08-30 13:16:55 +05:30
parent d6a89cf704
commit 4f1013c54a
8 changed files with 141 additions and 5 deletions

View File

@ -1,7 +1,143 @@
## Create Repository in Organization
# 🚀 Git Assignment My Version Control Journey
- Visited the Git-Training-Hub organization on Git Comorin.
- Created a new repository named git-practice-Ajin with no README, .gitignore, or license.
- The repository is empty as required.
---
![Repository Screenshot](GIT_ASSIGNMENT.png)
## 🛠 Step 1: Verifying Git Installation
📌 _First step was making sure Git was installed and working fine._
![Git version check](git_version.png)
✅ The output displayed the installed Git version.
---
## 📂 Step 2: Checking Repository Status
👀 _Next, I checked the repo to see if there were pending changes._
![Git status](git_status.png)
🔎 Git shows tracked, untracked, and staged files.
---
## Step 3: Moving Files to Staging
_I noticed some modifications and added them with_ `git add`.
![Git add](git_add.png)
🗂 Files are now ready to be saved in the next commit.
---
## 📝 Step 4: Reviewing Commit History
📖 _Every commit is part of the projects story, so I reviewed mine._
![Git log](git_log.png)
🕒 Shows commit messages, author names, and dates.
---
## 🔹 Step 5: Simplified Commit Log
👾 _To avoid too much detail, I used_ `git log --oneline`.
![Git log oneline](git_log_--oneline.png)
⚡ A compact and easy-to-read commit history.
---
## 🌳 Step 6: Visualizing History with Graph
🎨 _History is better when visualized, so I used graph mode._
![Git log graph](git_log_--oneline_--graph.png)
🌿 Displays branches and merges clearly.
---
## 🔍 Step 7: Checking File Changes
🖋 _Before committing, I inspected changes with_ `git diff`.
![Git diff](git_diff.png)
🔑 Shows exact line changes inside files.
---
## 🆚 Step 8: Comparing Two Versions
⚔️ _To see what changed between two commits, I compared them._
![Git diff between two commits](git_diff_commit_commit.png)
📌 Helps track project progress over time.
---
## 🌿 Step 9: Working with Branches
🔀 _I explored branches to work independently without touching main code._
![Git branch](git_branch.png)
🌱 Branches allow experimentation safely.
---
## 📥 Step 10: Cloning a Repository
🛰 _I downloaded a project from remote using_ `git clone`.
![Git clone](git_clone.png)
📂 A full copy is now available locally.
---
## 📥 Step 11: Pulling Remote Updates
🛰 _To stay up to date, I fetched and merged with_ `git pull origin`.
![Git pull](git_pull.png)
---
## 🌐 Step 12: Checking Remote Connections
🔗 _I verified linked remote repositories with_ `git remote -v`.
![Git remote](git_remote.png)
---
## 🚫 Step 13: Using .gitignore
📄 _Added a `.gitignore` file to skip tracking unnecessary stuff._
![Git ignore](gitignore_file.png)
---
# ✨ Summary
1.**Git Version Check** Verified installation.
2.**Git Status** Checked repository state.
3.**Git Add** Staged changes.
4.**Git Log** Viewed history.
5.**Git Log (oneline/graph)** Short + visual log.
6.**Git Diff** Compared file changes.
7.**Git Branch** Created/checked branches.
8.**Git Clone** Cloned repo locally.
9.**Git Pull** Pulled updates.
10.**Git Remote** Checked remotes.
11.**Git Ignore** Excluded files.
---

BIN
git_branch.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.2 KiB

BIN
git_diff_commit_commit.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

View File

Before

Width:  |  Height:  |  Size: 24 KiB

After

Width:  |  Height:  |  Size: 24 KiB

BIN
git_log_--oneline.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 27 KiB

View File

Before

Width:  |  Height:  |  Size: 13 KiB

After

Width:  |  Height:  |  Size: 13 KiB

BIN
git_status.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

BIN
git_version.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.7 KiB