我在StackOverflow和其他地方(包括Git文档)搜索过,但仍然无法使其运行。以下是我的操作:
为了设置中央仓库(在//SomeUNC上);
git init --bare Central.git
这将创建一个名为 //SomeUNC/Central.git 的文件夹。
现在,在本地仓库中,我尝试执行以下操作:
git remote add Central //SomeUNC/Central.git (this is ok)
git push -all Central
这会出现错误:
致命:'Central'似乎不是git存储库 致命:远程端意外挂断
我相信我错过了一些简单的东西。谢谢您的帮助!
//SomeUNC/Central.git
? - Karthik Bose