I encountered an error when running the git push -u origin main command in the command line. The error message is:
I have just completed my projeect on react and i wanted to host it on github , but once i created the repo without adding README file , in the command line while writing the [“git push -u origin main”] command , this error pops up [error: src refspec main does not match any
error: failed to push some refs ], I dont able to get the error , i have tried multiple times by creating new error , but still the problem persistes.