i just follow this steps to upload this project to repository in my github
and this problem comes, how i can fix this? enter image description here
CodePudding user response:
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.