5

Commit case-sensitive only filename changes in Git

 2 years ago
source link: https://dev.to/devded/commit-case-sensitive-only-filename-changes-in-git-2n0i
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client
Dedar Alam

Posted on Oct 28

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 modeExit fullscreen mode

source Issue


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK