I have written in a previous post how to use GitHub as a single developer for backuping code sources. This furthermore allow you to enjoy the code versioning. You may now want to work on several computers, with the master safely stored on GitHub.
To do that, you need to git pull
to retrieve on one computer what you did on another. Go into the directory of your repository, and just use this simple command. You need to have git push origin master
on the other computer before. You will then see something like that:
arnaud@hercules:~/Documents/GitHub/youbot-workspace-explorer$ git pull remote: Counting objects: 8, done. remote: Compressing objects: 100% (4/4), done. remote: Total 6 (delta 4), reused 4 (delta 2) Unpacking objects: 100% (6/6), done. From https://github.com/Arn-O/youbot-workspace-explorer 8e0601d..68fc4e0 master -> origin/master Updating 8e0601d..68fc4e0 Fast-forward wsexplorer.py | 75 +++++++++++++++++++++++++++++++++++++++++++---------------- 1 file changed, 55 insertions(+), 20 deletions(-)
If you forget to push or pull, don’t worry. Git will try to compare and merge the modification. This tool is designed for that and even on a very large scale.
Clik here to view.

Forks and Pull Requests in GitHub
The post GitHub on several computers appeared first on Zombie Brainz' Juice.