Below is the set of commands needs to be executed to update code from local system to Github repository
git config --global user.name "<Your Name>"
git config --global user.email <E-mail id>
create folder: e.g. Test
Navigate to folder
git init
git remote add origin <github url>
git pull origin master
Make changes to the folder (Test)
git status
git add .
git commit -m "Test Comment"
git push origin master
git config --global user.name "<Your Name>"
git config --global user.email <E-mail id>
create folder: e.g. Test
Navigate to folder
git init
git remote add origin <github url>
git pull origin master
Make changes to the folder (Test)
git status
git add .
git commit -m "Test Comment"
git push origin master
In Windows a good alternative is TortoiseGit. It can be downloaded from below link:
https://tortoisegit.org/
No comments:
Post a Comment