Archive for the Git Category

Symfony 2 Migration to Git

Posted on February 9, 2010 with No Comments

Symfony is a PHP RAD framework like Zend Framework, CakePHP, etc… They have been using subversion for version control. Today while checking language section of github.com, i found Symfony version 2 is using git for source control.

See the announcement at symfony blog

http://www.symfony-project.org/

Other opensource project like CakePHP, Gallery 2, etc.. are using git for source control.

Tags: , ,

Category: Git, symfony

Pro Git

Posted on February 9, 2010 with No Comments

Pro Git is git book, that is available in print and online. Online version is free to use, can be found at

http://progit.org/book/

Tags: , ,

Category: Git

git: ’svn’ is not a git-command. See ‘git –help’.

Posted on February 6, 2010 with No Comments

On ubuntu , when i run git svn, i get following error

root@hostonnet:/usr/local/zend/share# git svn clone http://framework.zend.com/svn/framework/standard/trunk
git: 'svn' is not a git-command. See 'git --help'.
root@hostonnet:/usr/local/zend/share#

This is fixed by installing git-svn

sudo apt-get install git-svn

Tags: ,

Category: Git, ubuntu

Linus Torvalds on git

Posted on February 1, 2010 with No Comments

Linus Torvalds talk about git in google teach talk.

Every subversion and CVS users must watch this video.

we have switched from subversion to git as it allow partial commit (that is you commit part of changes in a file) and it allow you to commit offline, then push to any number of remote repository.

git svn error Can’t locate SVN/Core.pm

Posted on February 1, 2010 with No Comments

When i try to clone a svn project to git, i got error

root@server70 [~/lxlabs/git]# git svn clone http://svn.lxcenter.org/svn/hypervm
Can't locate SVN/Core.pm in @INC (@INC contains: /usr/lib/perl5/site_perl/5.8.8 /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi /usr/lib64/perl5/site_perl/5.8.7/x86_64-linux-thread-multi /usr/lib64/perl5/site_perl/5.8.6/x86_64-linux-thread-multi /usr/lib64/perl5/site_perl/5.8.5/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.8.7 /usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi /usr/lib64/perl5/vendor_perl/5.8.7/x86_64-linux-thread-multi /usr/lib64/perl5/vendor_perl/5.8.6/x86_64-linux-thread-multi /usr/lib64/perl5/vendor_perl/5.8.5/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl/5.8.7 /usr/lib/perl5/vendor_perl/5.8.6 /usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/5.8.8 .) at /usr/libexec/git-core/git-svn line 39.
root@server70 [~/lxlabs/git]#

This error is fixed by installing subversion-perl

yum install subversion-perl

Tags: , , , ,

Category: Git