Saturday, 18 March 2017

GitHub: How to pull changes from online git repository to your local

 
1. If you are working on some open source project which is hosted on online github repository and you want to get the files modified by other peers. The command to get changes to your local (computer) project folder, you have to execute "git pull" command.
2. Remember, you have to in the project directory of before executing any git commands. 
3. The output of "git pull" looks like below.Here some one added "HelloWorld.java" to online repository and git pulled that file to my local repository.



0 comments:

Post a Comment

Note: only a member of this blog may post a comment.