git windows always show modified

$ git status


Changes not staged for commit:
(use “git add …” to update what will be committed)
(use “git restore …” to discard changes in working directory)
modified: .cicd/update-svc-values.sh

no changes added to commit (use “git add” and/or “git commit -a”)

how to fix:

git config core.fileMode false

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *