Update GIT_ASSIGNMENT.md

This commit is contained in:
2025-08-17 15:50:43 +00:00
parent 8bec930154
commit 228f3287ed

View File

@ -1,6 +1,4 @@
1. What is Git and Version Control
-----
-----
Assignment:
@ -17,8 +15,6 @@ Assignment:
2. Installing Git & Configuring User Info(COMPLETED)
-----
-----
Assignment:
@ -35,8 +31,6 @@ Verify with:
git config --list
3. Initializing a Repository
-----
-----
Assignment:
@ -60,8 +54,6 @@ git status nothing added to commit but untracked files
4. Working Directory, Staging, and Commits
-----
-----
Assignment:
@ -78,8 +70,7 @@ git commit -m "Add first notes file"
git status
Write down how the status changed after each command.
-----
-----
cd git-practice-Mag go to Directory
touch notes.txt creates file
@ -101,8 +92,6 @@ git status
5. Adding & Committing Files
-----
-----
Assignment:
@ -110,8 +99,9 @@ Assignment:
Stage and commit with a meaningful message.
Modify todo.txt, then commit the change again.
Run git log --oneline to see both commits.
------
------
cd git-practice-Mag
touch todo.txt
@ -144,8 +134,6 @@ b8c2503 (HEAD -> master) Add new task
6. Viewing Commit Logs & Diffs
-----
-----
Assignment:
@ -158,8 +146,11 @@ Assignment:
Edit notes.txt and check the changes with git diff before staging.
Stage and commit, then run git diff commit1 commit2 to see what changed between commits.
------
------
Magdel@LAPTOP-NS5FVUS9 MINGW64 ~/git-practice-Mag (master)
$ git log
commit b8c2503d1770ddf362d4862ec5f7095204d35015 (HEAD -> master)