-1

I can't push repository by git push -u origin main or git push --set-upstream origin main. If I enter either command, shows next line.enter image description here

1 Answers1

1

You need to configure the remote first, then push.

git remote add origin url-to-your-repo

Managing Git remote repositories

Purna W
  • 141
  • 4