DEV Community

Dedar Alam
Dedar Alam

Posted on

Commit case-sensitive only filename changes in Git

Suppose you have a folder name Dashboard you changed it to dashboard default configuration git doesn't recognize that change. Same things happens to files.

For that need to clean the cache, after struggle few hours I found a simple workable solution.

Here it is

git rm -r --cached .
git add --all .
git commit -a -m "Versioning untracked files"
git push
Enter fullscreen mode Exit fullscreen mode

source Issue

Top comments (0)