GitHub failure

$ git push “HelloWorld.md” https://github.com/johnkpark3/repo/HelloWorld.md

fatal: remote part of refspec is not a valid name in “https://  …”

Please tell me what would be a right refspec.

I did establish a repo named “datasciencecoursera”. 

And initiated  a file “HelloWorld.md”

in git bash

with $ git touch command.

Hi @johnkpark3,

This post was moved to a different board that fits your topic of discussion a bit better. This means you’ll get better engagement on your post, and it keeps our Community organized so users can more easily find information.

As you’ll notice, your Topic is now in the How to Use Git and GitHub board. No action is needed on your part; you can continue the conversation as normal here.

In response to your question, to push a file to a remote repository, you don’t need to push a file individually. If you already have the repository cloned to your local machine, you just need to add the file to a commit and then push that commit (and any others you’ve made) to the remote repository.

Since it sounds like you’re just starting out, you may be interested in the GitHub Hello World guide if you’ve not already gone through it. I also recommend the Git Handbook guide and the Understanding GitHub Flow guide.

Let me know if you have any other questions or if I can help with anything else.

Cheers!