几天前我在Github上创建了一个仓库,然后按照步骤将我的现有解决方案添加到其中。我不知道我做错了什么,但在执行一些随意的“git add”命令之后,我现在在github for windows中收到以下消息:
failed to sync this branch.
You might need to open a shell and debug the state of this repo.
这不可能发生。
更好的想法是我删除GitHub上的存储库,然后使用本地存储库重新开始。我知道如何在GitHub上删除存储库(因为我已经做过一次了,所以很容易)。但我不确定如何在本地重新开始。是否有一个名为“git uninit”或“git deconstruct repository”的 Git 命令呢?