Visual Studio 2015 Community: Commit to github via command line produces inaccessible file…?

后端 未结 1 1802
时光取名叫无心
时光取名叫无心 2020-12-20 05:08

I create a new repo on Github and follow the instructions.

Then I open Command Prompt and follow Github\'s instructions.

The picture is what I get

相关标签:
1条回答
  • 2020-12-20 05:22

    This is not an "inaccessible file", but a nested git repo.

    It is recorded in the main git repo (published on GitHub) as a gitlink, a special entry in the index, and is displayed as a gray icon.

    If you really want its content, you should transform it as a submodule.
    As such, that gitlink points to nothing, as there is no way to know the remote url of that repo (only its SHA1 which is what the gitlink records)

    0 讨论(0)
提交回复
热议问题