Compare commits

4 Commits

Author SHA1 Message Date
Asaph
058987368b e 2025-09-01 11:37:27 +05:30
Asaph
ab35c1f11f control 2025-09-01 11:32:08 +05:30
Asaph
0290f9c995 explore 2025-09-01 11:25:50 +05:30
Asaph
1242b4695c new update 2025-08-20 16:53:34 +05:30
6 changed files with 12 additions and 21 deletions

View File

@@ -1,34 +1,36 @@
## Git Assignment
## Git Version Check
## 1. What is Git and Version Control
1. Git helps multiple people work on the same files without losing each other's changes or creating a mess.
2. Four students writing a group essay where each person writes different sections, but sometimes they need to edit the same paragraphs.
3. Email creates confusion with multiple file versions and lost work, while Git tracks every change and lets everyone work together safely.
## 2. Installing Git & Configuring User Info
## ![alt text](image.png)
## Git Status
3. Initializing a Repository
![alt text](image-1.png)
---
## Git list
4. Working Directory, Staging, and Commits
![alt text](image-2.png)
---
## Git Add
![alt text](image-3.png)
---
## Git commit
![alt text](image-4.png)
--
## Git Log
5. Adding & Committing Files
## ![alt text](image-5.png)
@@ -38,6 +40,8 @@
## ![alt text](image-6.png)
6. Viewing Commit Logs & Diffs
## Git Log (graph)
## ![alt text](image-8.png)
@@ -45,16 +49,3 @@
## Git Diff
## ![alt text](image-9.png)
## Git Diff (commit1 vs commit2)
---
### Notes:
1. **Git Version Check** Displays the currently installed Git version on your system.
2. **Git Status** Shows the current working tree status, including staged/unstaged changes.
3. **Git Add** Stages file changes, moving them into the index ready for the next commit.
4. **Git Log** Displays commit history.
5. **Git Log (oneline/graph)** Shows simplified commit history.
6. **Git Diff** changes between commits or working directory states.

BIN
image-10.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 52 KiB

BIN
image-11.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 31 KiB

BIN
image-12.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 31 KiB

BIN
image-13.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 27 KiB

BIN
image-14.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB