Home > Software design >  Why doesn't git upload to github?
Why doesn't git upload to github?

Time:07-05

I'm trying to upload a git repository to GitHub from the command console and I can't. Below is a diagram simplifying the problem.

A diagram showing my attempts to create a github project

At this point I refresh the repository page on GitHub and I should be able to see my hello-world.py file. Which is not happening. Github doesn't seem to be aware of anything happening locally on my computer.

What am I doing wrong?

How can I successfully upload a repository with the corresponding files from the git command console?

CodePudding user response:

You need to run git push origin master to push the changes in your github remote repo Cause You're on master branch in your local

  • Related