{"id":10071,"date":"2026-05-10T22:30:08","date_gmt":"2026-05-10T14:30:08","guid":{"rendered":"https:\/\/jpuyy.com\/?p=10071"},"modified":"2026-05-10T22:30:08","modified_gmt":"2026-05-10T14:30:08","slug":"git-windows-always-show-modified","status":"publish","type":"post","link":"https:\/\/jpuyy.com\/?p=10071","title":{"rendered":"git windows always show modified"},"content":{"rendered":"<p>$ git status <\/p>\n<p>&#8230;<br \/>\nChanges not staged for commit:<br \/>\n  (use &#8220;git add <file>&#8230;&#8221; to update what will be committed)<br \/>\n  (use &#8220;git restore <file>&#8230;&#8221; to discard changes in working directory)<br \/>\n        modified:   .cicd\/update-svc-values.sh <\/p>\n<p>no changes added to commit (use &#8220;git add&#8221; and\/or &#8220;git commit -a&#8221;) <\/p>\n<p>how to fix:<\/p>\n<p>git config core.fileMode false<\/p>\n","protected":false},"excerpt":{"rendered":"<p>$ git status &#8230; Changes not staged for commit: (use &#8220;git add &#8230;&#8221; to update what will be committed) (use &#8220;git restore &#8230;&#8221; to discard changes in working directory) modified: .cicd\/update-svc-values.sh no changes added to commit (use &#8220;git add&#8221; and\/or &#8220;git commit -a&#8221;) how to fix: git config core.fileMode false<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[168],"tags":[],"class_list":["post-10071","post","type-post","status-publish","format-standard","hentry","category-git"],"_links":{"self":[{"href":"https:\/\/jpuyy.com\/index.php?rest_route=\/wp\/v2\/posts\/10071","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/jpuyy.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/jpuyy.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/jpuyy.com\/index.php?rest_route=\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/jpuyy.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=10071"}],"version-history":[{"count":1,"href":"https:\/\/jpuyy.com\/index.php?rest_route=\/wp\/v2\/posts\/10071\/revisions"}],"predecessor-version":[{"id":10072,"href":"https:\/\/jpuyy.com\/index.php?rest_route=\/wp\/v2\/posts\/10071\/revisions\/10072"}],"wp:attachment":[{"href":"https:\/\/jpuyy.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=10071"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/jpuyy.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=10071"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/jpuyy.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=10071"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}