Multiple copies of git FETCH_HEAD files

Occasional Contributor

Hi all,

My work folder structure is such that I end up having several git folders inside the ones that I sync using onedrive for business. When I do a git pull, onedrive ends up creating an extra copy of the FETCH_HEAD file with names FETCH_HEAD-computername-number. I've seen such posts on other forums as well, where the solution is "Don't put git folders in onedrive". That's too sad. For instance I had no issues with this when using other cloud services.

So what is the issue here? Is there a user-side fix I can use? (I am not an admin for my organisation). Or is this a bug that needs fixing?

-- varunbhalerao

1 Reply
I'm having the same issue and haven't been able to find a solution yet. It's quite annoying...