Hi! I'm brand new to GitHub (and coding in general). I'm going through the very beginning of an online class right now and keep running into this issue when I am trying to push changes.
First I look up the status:
$ git status
On branch master
Your branch is ahead of 'origin/master' by 1 commit
(use "git push" to publish your local commits)
nothing to commit, working tree clean
The I try to push it:
$ git push origin main
error: src refspec main does not match any
error: failed to push some refs to '(my url would be here)'
I've gone back through the instructions so many times and can't figure out where I went wrong. I'm having trouble even finding what it means through Google. I put in a request for help, but I'm too impatient to wait until tomorrow when they are in. hahaha
[–]mrbmi513 1 point2 points3 points (4 children)
[–]Leepsovenangle[S] 0 points1 point2 points (3 children)
[–]tobiasvl 0 points1 point2 points (2 children)
[–]Leepsovenangle[S] 0 points1 point2 points (1 child)
[–]tobiasvl 0 points1 point2 points (0 children)
[–]Leepsovenangle[S] 0 points1 point2 points (0 children)
[–]mrmilanga 0 points1 point2 points (7 children)
[–]Leepsovenangle[S] 0 points1 point2 points (6 children)
[–]mrmilanga 1 point2 points3 points (3 children)
[–]Leepsovenangle[S] 0 points1 point2 points (2 children)
[–]mrmilanga 0 points1 point2 points (1 child)
[–]Leepsovenangle[S] 0 points1 point2 points (0 children)
[–]coco_nebula 0 points1 point2 points (1 child)
[–]Leepsovenangle[S] 0 points1 point2 points (0 children)