Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Having a hard time understanding Git and Github's place on my web server

Tags:

git

php

github

I'm a long time web developer just starting to use Git and Github for my first project. I've setup my Github repository, added a README file, committed it and pushed it to my origin master. It now shows up in Github just fine. I'm assuming that I now want to either pull, fetch, or clone this to my live site. Development is done in a separate staging area of the same live server so I'm confident that changes I make and commit will be OK for the live site. I'm not part of a team and it's a small project so I'm mostly just interested keeping a backup of code and tracking the changes.

Am I on the right track? I've tried a number of articles but I don't think I'm quite grasping it.

Thanks for any advice.

like image 580
Chris Avatar asked Apr 26 '11 14:04

Chris


2 Answers

That's pretty much the git... I mean gist of it.

like image 151
Kyle Macey Avatar answered Sep 21 '22 16:09

Kyle Macey


I think you might find this as a good resource: http://progit.org/book/

like image 34
Eric Avatar answered Sep 23 '22 16:09

Eric