Changes RSS

**This is an old revision of the document!** ----

A PCRE internal error occured. This might be caused by a faulty plugin

====== Some experimentation with git ====== Server-stuffz, before adding git-http-backend... <code> apt-get install git-core mkdir /var/www/git.example.com mkdir /var/www/git.example.com/.passdb cd /var/www/git.example.com mkdir test-repo.git cd test-repo.git git --bare init chown -R www-data.www-data . vim /etc/apache2/sites-available/git.example.com.conf # Show contents of this magic file now. htpasswd -c /var/www/git.example.com/.passdb/test.git testuser a2ensite git.example.com a2enmod dav a2enmod dav_fs /etc/init.d/apache2 reload </code> Client-side stuffs: <code> sudo apt-get install cadaver cadaver http://git.example.com/test-repo.git </code> <code> Authentication required for Git test on server `git.example.com': Username: testuser Password: </code> vim ~/.netrc chmod 0600 ~/.netrc curl --netrc --location -v http://git.example.com/test-repo.git/HEAD sudo apt-get install git-core git config --global user.name "My Name" git config --global user.email email@example.com cd ~/testcode git init git add . git commit git-config remote.upload.url http://testuser@git.example.com/test-repo.git/ git push upload master <code> Server fix: <code> su - su www-data cd /var/www/git.example.com/test-repo.git/ git update-server-info chmod +w /var/www/git.example.com/test-repo.git/hooks/post-update </code> Verifying fix and branching: <code> cd ~/testcode git branch git branch testing git checkout testing vim newfile git add newfile git commit git push upload testing </code> http://www.kernel.org/pub/software/scm/git/docs/gittutorial.html http://cworth.org/hgbook-git/tour/ http://www.kernel.org/pub/software/scm/git/docs/howto/setup-git-server-over-http.txt http://www.espace.com.eg/blog/2010/11/10/migrating-from-subversion-to-git/ http://www.kernel.org/pub/software/scm/git/docs/git-http-backend.html