Answers for "push origin not working"

1

git push origin main not working

When pushing your code, "main" is the branch name you're pushing to. Check if that's the branch on your github. 
If that doesn't work, you can start from scratch and remove all git instances by running

rm -rf .git

Then start the process all over again and set your branch name to "main" then run "git push origin main"
Posted by: Guest on July-25-2021

Browse Popular Code Answers by Language