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 i can't push my project to my Repository on Github

i just follow this steps to upload this project to repository in my github

enter image description here

and this problem comes, how i can fix this?
enter image description here

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

>Solution :

You need to stage your modified files first with commands :

git add <yourfile>

Git itself have stage area which was contains of your file that going to commited to your repo.
For better explanation why it need to be staged

well If you don’t want to git adding them one by one xD, you can use

git add -u // will added your modified files to stage 
git add * // which will add all of your files including your new files (literally everything to stage)
git commit -a // will commiting 

A little bonus, Git Cheat Sheet xD
Also i have little advie, it was better if you work with your code around with Visual Code… its more simply to commit a changes to your repo in github with feature there.

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