Compare commits

4 Commits

Author SHA1 Message Date
Asaph
1242b4695c new update 2025-08-20 16:53:34 +05:30
Asaph
58e6514679 Viewing Commit 2025-08-20 16:38:35 +05:30
Asaph
9f6b5d6576 file-commands-reupdate1 2025-08-20 16:26:45 +05:30
Asaph
c6a2c7a21c file-commands-reupdate 2025-08-20 16:25:11 +05:30
7 changed files with 24 additions and 23 deletions

View File

@@ -1,52 +1,51 @@
## Git Assignment ## 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) ## ![alt text](image.png)
## Git Status 3. Initializing a Repository
![alt text](image-1.png) ![alt text](image-1.png)
--- ---
## Git list 4. Working Directory, Staging, and Commits
![alt text](image-2.png) ![alt text](image-2.png)
--- ---
## Git Add
![alt text](image-3.png) ![alt text](image-3.png)
--- ---
## Git Log ![alt text](image-4.png)
--- --
5. Adding & Committing Files
## ![alt text](image-5.png)
![alt text](image-7.png)
## Git Log (oneline) ## Git Log (oneline)
--- ## ![alt text](image-6.png)
6. Viewing Commit Logs & Diffs
## Git Log (graph) ## Git Log (graph)
--- ## ![alt text](image-8.png)
## Git Diff ## Git Diff
--- ## ![alt text](image-9.png)
## Git Diff (commit1 vs commit2)
---
### Notes:
1. **Git Version Check** Confirms the installed Git version.
2. **Git Status** Shows the current working tree status, including staged/unstaged changes.
3. **Git Add** Adds changes to the staging area, preparing them for commit.
4. **Git Log** Displays commit history.
5. **Git Log (oneline/graph)** Shows simplified or visual commit history.
6. **Git Diff** Shows changes between commits or working directory states.

BIN
image-5.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

BIN
image-6.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

BIN
image-7.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 48 KiB

BIN
image-8.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

BIN
image-9.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 29 KiB

2
todo.txt Normal file
View File

@@ -0,0 +1,2 @@
Modify change.
Modify change.