通过 Git 上传到 Github 的公共存储库时卡住了

KIV*_*UOS 4 git fork github public repository

在init add和commit阶段,一切顺利,但在push阶段,它显示错误。 包含错误消息的图像

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'
Run Code Online (Sandbox Code Playgroud)

grg*_*grg 6

您不能在分支上使用 Git LFS。

github.com 上的 Git LFS 目前不支持将 LFS 对象推送到公共分支。GitHub Enterprise 确实支持此行为。

https://github.com/git-lfs/git-lfs/issues/1906#issuecomment-276602035