标签: git github
我在我的服务器(台式电脑)和笔记本电脑上安装了git。我克隆了远程存储库,坐在我的服务器上,我添加了新文件。然后,当我执行git命令" git status"在服务器上,所有文件都被删除。
答案 0 :(得分:0)
我实际上是使用git config receive.denyCurrentBranch false修复了它。
git config receive.denyCurrentBranch false