Skip to main content
improve formatting
Source Link
link
  • 2.4k
  • 3
  • 24
  • 36

Here's a screenshot of what I'm dealing with:

Here's a snippet 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: https://www.youtube.com/watch?v=SWYqp7iY_Tc&t=1734stutorial 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

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?

Here's a snippet 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: https://www.youtube.com/watch?v=SWYqp7iY_Tc&t=1734s 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?

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?

Used backtick escapes to highlight code instead of bold + quotes.
Source Link

Here's a snippet 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: https://www.youtube.com/watch?v=SWYqp7iY_Tc&t=1734s 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"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 h ttps://github.com/Tawnwen/MyApp.git". (without space ofc)git remote add origin https://github.com/Tawnwen/MyApp.git.
  • I tried to push using the command "git push -u origin master"git push -u origin master

Can anyone please help?

Here's a snippet 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: https://www.youtube.com/watch?v=SWYqp7iY_Tc&t=1734s 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 h ttps://github.com/Tawnwen/MyApp.git". (without space ofc)
  • I tried to push using the command "git push -u origin master"

Can anyone please help?

Here's a snippet 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: https://www.youtube.com/watch?v=SWYqp7iY_Tc&t=1734s 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?

Source Link
Tawnwen
  • 1
  • 1
  • 2

Fatal: master cannot be resolved to branch

Here's a snippet 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: https://www.youtube.com/watch?v=SWYqp7iY_Tc&t=1734s 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 h ttps://github.com/Tawnwen/MyApp.git". (without space ofc)
  • I tried to push using the command "git push -u origin master"

Can anyone please help?