Git with github

January 9th, 2009
Tags: git Posted in Version Control :-)Say something

It feels like if you are not using or talking about Git nowadays, then you are out of date. But if you are, then you are definitely cool (do check out this post about from cvs to svn and then to git and the cool factor). So I am cool :-) as I am using git, but the exact reason I started to use git is because of another post: "sharing your code".

Git has a quite different idea from cvs and svn, when you do "commit", the change won't go to centralized server, it stays local. Then when using github, do another "push" the code then will be visible to others.

The idea of local is quite good, you can keep your own change history without begging others to commit your change and meanwhile keep updating with changes from others if you like (in such a case, git can be easily used together with svn). If you want to keep a record of your stuff outside of your local machine, then use github.

That's how I am playing with micolog (as I forked a micolog-cxu) and google app engine now. Before I do update with google app engine, I would do a "git diff" to make sure the files I will update, after "appcfg.py update", I will commit my changes to git and push them if necessary. Later if I want, I could do a simple script wrapper for these steps.

 

javascript document location»
«SimpleG theme for micolog

我要留言

3+6=