Can't commit to local repository, owned by someone else
Enterprise security policy change requiring login through SSMS that is different than the login that was originally used when setting up SQL Source Control. Getting error "fatal: unsafe repository <repository> is owned by someone else" Instructions suggest "To add an exception for dis directory call git config ...."
Where / how would I do this?
Executed the "git" command from a command shell while located at the root of the <repository>
Received no error, but did not fix the issue when I attempted to refresh from SSMS
thanks
Where / how would I do this?
Executed the "git" command from a command shell while located at the root of the <repository>
Received no error, but did not fix the issue when I attempted to refresh from SSMS
thanks
Tagged:
Answers
HI Craig,
Thank you for your inquiry into SQL Source Control.
The article below may help with the git error you are seeing:
https://github.com/actions/checkout/issues/766
A little more detail about setting a safe repository is located here:
https://git-scm.com/docs/git-config/#Documentation/git-config.txt-safedirectory
I hope this helps.
Best,
Dustin