How to Update Project to a Existing GitHub Repository Step by Step

Описание к видео How to Update Project to a Existing GitHub Repository Step by Step

Learn how to reflect changes to the GitHub which made into the local project.

How to Update Project to a Existing GitHub Repository


Browse to your project directory in your PC. Open terminal or command line tool or terminal in the same directory.

Use following commands:
Initialize local directory as a git repository using:
git init

Add all files to local repository using:
git add .
Now files are staged for first commit

Check status and see all files staged for commit using:
git status

Commit files that are staged in local repository using:
git commit -m "First commit"


Push the code in local repository to Github using:
git push origin master

See github repo page and your files will be there that are pushed.

Here are all the commands in sequence:

git init
git add .
git commit -m "any comment here in quotes"
git push origin master


Found this video helpful and want to support?

Buy me a Coffee : https://www.buymeacoffee.com/yaminshakil

Join this channel to get access to perks:
   / @webtechknowledge  

Thanks For Watching.
I hope This video was helpful. If you have any questions then let me know in the comment section.


Best of luck


#webtechknowledge


You can connect with me with the given links below:



Facebook Link:   / yaminshakil07  


Instagram Link:   / yamin_shakil  


Twitter Link:   / yaheashakil  


#howtoupdateprojecttogithubrepository

Комментарии

Информация по комментариям в разработке