Upload files
BIN
Config.png
Normal file
After Width: | Height: | Size: 14 KiB |
77
GIT_ASSIGNMENT.md
Normal file
@ -0,0 +1,77 @@
|
|||||||
|
<!-- @format -->
|
||||||
|
|
||||||
|
# Git Assignment
|
||||||
|
|
||||||
|
## 1. What is Git and Version Control
|
||||||
|
|
||||||
|
What problem does Git solve?
|
||||||
|
Git solves the problem of tracking changes in code and coordinating work across multiple developers.
|
||||||
|
|
||||||
|
Real-life example where multiple people edit the same file:
|
||||||
|
Real-life example: Several people editing a shared report in Word at the same time leads to conflicts and lost edits.
|
||||||
|
|
||||||
|
Why is version control better than emailing files back and forth?
|
||||||
|
Version control is better than emailing files because it keeps a single source of truth with automatic history and collaboration tools.
|
||||||
|
|
||||||
|
|
||||||
|
## Git Version Check
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## 2. Installing Git & Configuring User Info
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## Git List
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## 3. Initializing a Repository
|
||||||
|
|
||||||
|
## Git Init
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## 4. Working Directory, Staging, and Commits
|
||||||
|
|
||||||
|
## Git Add
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## 5. Adding & Committing Files
|
||||||
|
|
||||||
|
## Git Log
|
||||||
|

|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## 6. Viewing Commit Logs & Diffs
|
||||||
|
|
||||||
|
## Git Log (graph)
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## Git Diff
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## Git Diff (commit1 vs commit2)
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
---
|
||||||
|
|
BIN
Screenshot 2025-08-20 181514.png
Normal file
After Width: | Height: | Size: 6.5 KiB |
BIN
Screenshot 2025-08-20 212002.png
Normal file
After Width: | Height: | Size: 45 KiB |
BIN
add_commit.png
Normal file
After Width: | Height: | Size: 68 KiB |
BIN
add_notes.png
Normal file
After Width: | Height: | Size: 15 KiB |
BIN
add_todo.png
Normal file
After Width: | Height: | Size: 4.6 KiB |
BIN
get_status.png
Normal file
After Width: | Height: | Size: 12 KiB |
BIN
git log_oneline.png
Normal file
After Width: | Height: | Size: 24 KiB |
BIN
git.list.png
Normal file
After Width: | Height: | Size: 40 KiB |
BIN
git.version.png
Normal file
After Width: | Height: | Size: 8.9 KiB |
BIN
git_diff.png
Normal file
After Width: | Height: | Size: 24 KiB |
BIN
git_int.png
Normal file
After Width: | Height: | Size: 10 KiB |
BIN
git_log.png
Normal file
After Width: | Height: | Size: 63 KiB |