Comments
1 comment
-
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
Workaround: Other steps are failing
Since we don't persist that configuration, you may still see this error if your job uses git commands outside of the checkout action. If so, you just need to set the configuration value yourself.
Simply set the
GITHUB_WORKSPACE
as a safe directory.git config --global --add safe.directory "$GITHUB_WORKSPACE"
If your github workspace starts off with
//
, you may need to set it viagit config --global --add safe.directory "%(prefix)/$GITHUB_WORKSPACE"
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
Add comment
Please sign in to leave a comment.
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