Update GIT_ASSIGNMENT.md

This commit is contained in:
2025-09-04 06:47:12 +00:00
parent c9ab4da8b6
commit 7f2873fe24

View File

@ -55,3 +55,16 @@ No duplicate files → Everything is in one central repository.Clear history →
13 gitignore
![Screenshot](g10.png)
14 why Rename isnt tracked
When renaming readme.md → README.md, Git did not show any change on my Windows system. Running git status showed a clean working directory.
Reason:
Git is case-sensitive, but Windows/macOS filesystems are case-insensitive. The OS treats readme.md and README.md as the same file, so Git does not detect the rename.
Solution:
Use Gits force move to make the rename explicit.
git mv -f readme.md README.md
git commit -m "Rename readme.md to README.md"
git push origin main