Skip to content
Advertisement

Uploading all my files to GitHub

I created a new repo on github called GHide. The repo is completely empty. I read the instructions on github for a hello-world repo. But I can’t find out how I can upload my existing GHide files from my computer to the GitHub repo.
How is that to be done. I am using Linux so command-line git commands will be appreciated.

Advertisement

Answer

Firstly, you’ll need to set up git, as explained here. Next, you’ll need to create a local copy of the repo and add files to it. It’s explained in detail here, but this should do what you need:

JavaScript
User contributions licensed under: CC BY-SA
9 People found this is helpful
Advertisement