How to push a local project to GitHub repository
Feb 26, 2024
Step: 1
Open the file manager and the path of the code
Below I have created sample files under Folder :frozenyogurtshop.
Step: 2
Click on the path of the code
Type CMD and press enter
This is the CMD look and type
git init
git add
We use git add . to stage all the files and
git commit -m "any message"
To check commit use command
git log
Step: 3
Open GitHub and create repository for this code
Now copy the command and Paste it to your cmd terminal
git remote add origin https://github.com/nipul07/bonga.git
git push
git push --set-upstream origin master
Refresh the page to see the output
thank you for reading!!!!