Odd behavior when Git repo is in C:\Program Files

一世执手 提交于 2019-12-10 10:43:49

问题


We have a Git repo in C:\Program Files\Some-DB\Some-DB-Queries. When Git (or SourceTree) is run as Admin, everything works as expected. However, as non-Admin, after pulling into a local repo, Git sees those changes as uncommitted local changes.

Does Git have to be run as Admin in Windows? If not, is there a way to configure security such that Git has the proper permissions for a repo living in Program Files?

来源:https://stackoverflow.com/questions/24493678/odd-behavior-when-git-repo-is-in-c-program-files

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!