Latest Update brings Github error on pull, push, or sync

前端 未结 11 612
执念已碎
执念已碎 2020-12-25 12:39

In Visual Studio 2019, we have been using the GitHub extension successfully since before release. Now, all of the sudden, when we push, pull, or sync, we receive the follow

11条回答
  •  旧巷少年郎
    2020-12-25 13:17

    We ran into this exact issue after upgrading Git to version 2.23.0.windows.1 on our build agents.

    The fix that worked for us was to change the owner of C:\ProgramData/Git/config to Administrators. Note that this is different to the Administrator user!

    To do this, right-click on C:\ProgramData/Git/config and select Properties then the Security tab.

    And click Advanced...

    Use the Change link to set the owner to Administrators.

提交回复
热议问题