问题
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