Download latest Git Source code from https://github.com/git/git/releases to install, run
On a web server, i had to change file permission to 755 to make site work. Now when i try to get latest code from git, git pull fail with file change error. To ignore file permission in git, run
To disable accidental commit on master branch, create file In your git repository root directory with following content Make this file executable Now commit on master branch won’t be allowed.
I have modified something in my local branch and but the changes not looking good. So I just tried by pulling the files from remote server using following command git pull origin master Nothing has happend and my local branch
GIT is a version controlled system which you can use to maintain code for your project. It helps you to save your project at different versions, so that you can retrieve a previous version of your project without any problem.
First create a virtual host for gitweb in apache DocumentRoot /home/gitweb.bizhat.com/public_html/ ServerName gitweb.bizhat.com CustomLog /var/log/httpd/gitweb.bizhat.com.log combined AddHandler cgi-script .cgi DirectoryIndex gitweb.cgi AllowOverride All Options All Order allow,deny Allow from all RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^.*
Git is a distributed version control created by Linus torvalds for managing Linux kernal. Now many large projects use git for version control. You can download latest version of git from http://git-scm.com/download To install version 1.7.5.2, run cd /usr/local/src wget
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
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)
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