Reputation: 14113
I'have a python project and I decide today put it on github. I'm newbie with that. I see several tutorial. All work fine exept a thing I want to do:
I'm coding on my laptop in the day and on my computer I continue the work when I come back home.For now I create a repo on the laptop and I push it on my github. When I come back home on my computer I did a clone of the repo to continue working on the code. But when I push it on github again , all work fine exept I don't know how to "download" it on my laptop again to continue working in the next day.
The only things I find is to make a "cherry pick". I don't know if it's correct and how to process in this situation.
Upvotes: 1
Views: 255
Reputation: 34031
After you've cloned, git pull
will update your local copy with the latest from the repository it was cloned from. See the git pull
section of the manual for more information.
Update for git gui:
I encourage you to learn bash and the command-line interface for git, apart from being incredibly useful, it's easier to find support for them.
Looking at the "Pulling from a Remote Server" section of the git gui tour, it appears that pulling involves adding a remote (perhaps already done) and then selecting Remote -> fetch from -> repository name.
Upvotes: 4
Reputation: 3049
To put it on github from any computer use push
to get it from github to any computer use pull
Upvotes: 0