You need a valid remote to push. To create a new remote see docs https://docs.github.com/en/get-started/getting-started-with-git/managing-remote-repositories
Using GitHub - uploading (pushing) project to GitHub through Visual Studio

Dean Everhart
1,541
Reputation points
I used the "git" pull down menu in Visual Studio to create a repository:
https://github.com/DeanEverhart/ContoUniversity-Embed
I thought, in doing so, that I would be uploading the project to the repository. I'm realizing now that the project files don't seem to have been uploaded.
I then chose "push" under the git pull down menu in Visual Studio (errors below)
What am I not doing right?
Developer technologies ASP.NET ASP.NET Core
4,815 questions
Developer technologies ASP.NET Other
3,597 questions
Accepted answer
-
Bruce (SqlWork.com) 77,686 Reputation points Volunteer Moderator
2023-04-05T14:54:21.42+00:00