Got stuck while uploading in public repository in Github via Git

Viewed 991

In the init add and commit stages it goes smoothly but during push stage, it shows error. 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'
2 Answers

try this

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
Related