如何解决通过Git在Github中的公共存储库中上传时卡住了
在init添加和提交阶段,它进行得很顺利,但是在推入阶段,它显示了错误。 Image containing error message
Uploading LFS objects: 0% (0/100),0 B | 0 B/s,done.
batch response: @KIVUOS1999 can not upload new objects to public fork KIVUOS1999/shooting
batch response: @KIVUOS1999 can not upload new objects to public fork KIVUOS1999/shooting
batch response: @KIVUOS1999 can not upload new objects to public fork KIVUOS1999/shooting
batch response: @KIVUOS1999 can not upload new objects to public fork KIVUOS1999/shooting
error: failed to push some refs to 'https://github.com/KIVUOS1999/shooting'
解决方法
您不能在叉子上使用Git LFS。
github.com上的Git LFS当前不支持将LFS对象推送到公共派生。 GitHub Enterprise确实支持这种行为。
https://github.com/git-lfs/git-lfs/issues/1906#issuecomment-276602035
,尝试
git init
git add README.md
git commit -m "my commit"
git branch -M main
git remote add origin https://github.com/barkhayot/testingfor-.git
git push -u origin main
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。