Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

Why doesn't git upload to github?

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.

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

What am I doing wrong?

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

>Solution :

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

Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading