Commit case-sensitive only filename changes in Git

devded

Dedar Alam

Posted on October 12, 2021

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

💖 💪 🙅 🚩
devded
Dedar Alam

Posted on October 12, 2021

Join Our Newsletter. No Spam, Only the good stuff.

Sign up to receive the latest update from our blog.

Related