fatal: detected dubious ownership in repository | After SSD Change and Windows Resinstallation

Viewed 92

I had recently my main harddrive change, due to which windows was re-installed. But all of my github repos were saved locally on another hardrive. Now while running git commands its showing this error fatal: detected dubious ownership in repository. Which is understandable since perhaps the user has changed.

Is there a clean way to solve this, without say making it ignore the error?

0 Answers
Related