While I was trying to commit the code to my GitHub account I started getting a strange error. After tweaking around a while, surfing through a couple of websites, I got these steps. And these steps solved the issue.
Have a look at the error: ( If you are getting the same error, proceed to read the rest of the blog.)
blogger$ git push remote master fatal: 'origin' does not appear to be a git repository fatal: The remote end hung up unexpectedly
Now the fix
running the commands listed below, did the thing for me. Running this once will do for the session of the terminal.
git notes --ref=bugzilla add -m 'bug #15' git log --show-notes=bugzilla git log -1 --show-notes=* export GIT_NOTES_REF=refs/notes/bugzilla git push origin refs/notes/bugzilla git push origin master
Now every yime you want to commit the code just run
git commit -a -m "your message" git push origin master
Enjoy sharing your code!
Advertisement