3. Pull latest code from GIT and Push your work to GIT - Avnivyas/hello-world GitHub Wiki
- Pulling latest code from git
- open command shell in your repo folder
- execute following command - git pull
- if it response with 'Up to date' than your local repository has all the codes available in github
- if git founds something new than it will fetch new code from git to your local repo folder
- Pushing your local code on git
- open command shell in your repo folder
- add your newly created file by following command - git add (*) and you will see list of created files by you.
- commit your local changes by executing following command - git commit -m 'COMMIT MESSAGE WHICH YOU WANT TO DISPLAY'
- and at the end push your commit to git by following command - git push
NOTE: You may ask your git USERNAME and PASSWORD while performing GIT operation