Here's a screenshot of what I'm dealing with:
I'm a new GitBash user and am getting this error when trying to push to GitHub.
I was following this tutorial. So far I've not run into any problems, except I get this error when I try to push:
Fatal: master cannot be resolved to branch
Things I've done correctly:
- I am signed in
- I have specified my name and email using
git config -global... *blah blah*
- Everything is committed and should be ready to push
- I'm on the master branch that I wish to push.
- I've added my remote repository using command
git remote add origin https://github.com/Tawnwen/MyApp.git
. - I tried to push using the command
git push -u origin master
Can anyone please help?