So, I was working on a project and using git to click on github, and then suddenly today after I worked for a while, I went to git add and got fatal: .git/index: index file open failed: Permission denied
I can not think of anything that I did recently on my computer that could cause this. Although I woke up today, noticing that my computer rebooted overnight, and I noticed that some of the different settings were not the same as I usually leave them. For example, silent mode is disabled, and I always have this. I thought it was strange, but I checked for viruses and didn’t notice anything, so I shrugged, thinking that it could be something at the end of the window.
Should I be nervous, something is playing with my permissions? After a few minutes of searching on Google, I did not learn too much about this error. A kind of bewilderment, because I personally did not change any rights, and yesterday everything looked good.
Seek some help if there is anything else that I need to enable to solve this error, I will gladly provide it if you are asked. No one is using this computer. This is a build of Windows 10, git version 2.6.3.windows.1 .
edit: Here is the output
11:21:34.673917 trace.c:319 setup: git_dir: .git 11:21:34.674417 trace.c:320 setup: git_common_dir: .git 11:21:34.674417 trace.c:321 setup: worktree: D:/Downloads/AnotherTabExample 11:21:34.674417 trace.c:322 setup: cwd: D:/Downloads/AnotherTabExample 11:21:34.674417 trace.c:323 setup: prefix: (null) 11:21:34.674417 git.c:348 trace: built-in: git 'add' '.' fatal: .git/index: index file open failed: Permission denied
git windows github
Dustin
source share