git push origin master

In order to push your source code, go into root folder of your project and start with the following command:

git add .

git-add

Then we must do commit with git commit -m “your comment”

git-commit-m

Result of commit is given in figure bellow.

git-commit-result

Final command for pushing project is

git push origin master

git-push-origin-master

Type your password and that’s it.

git-push-result

To pull project from the web, go to your destination folder and type:

git pull origin master

Posted in tutorials Tagged with: , , ,

Leave a Reply

Your email address will not be published. Required fields are marked *

*