From 7f2873fe2418367899dedb5423bcb387c397e223 Mon Sep 17 00:00:00 2001 From: "ashish.livingston" Date: Thu, 4 Sep 2025 06:47:12 +0000 Subject: [PATCH] Update GIT_ASSIGNMENT.md --- GIT_ASSIGNMENT.md | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/GIT_ASSIGNMENT.md b/GIT_ASSIGNMENT.md index ea2c2b5..7d97bf2 100644 --- a/GIT_ASSIGNMENT.md +++ b/GIT_ASSIGNMENT.md @@ -54,4 +54,17 @@ No duplicate files → Everything is in one central repository.Clear history → 13 gitignore -![Screenshot](g10.png) \ No newline at end of file +![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 Git’s 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 \ No newline at end of file