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

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

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

====== GIT Distributed Version Control ====== If you do not know GIT by now, you've probably been away from the software development ecosystem for a while... or you're very new to it. If that is the case, it is warmly recommended that you learn more about this great tool for version control in distributed environments. You can get a quick impression of what GIT is by reading this [[http://git-scm.com/about|introduction on the official GIT website]]. ---- ==== Installation of the Git Package (client) ==== ---- As long as you satisfy yourself with the latest Git release available from the debian repos you could simply issue the following command to install it on your system: <code> sudo apt-get update sudo apt-get install git </code> In case you'd like to benefit from the very latest additions made to Git, you should then [[http://git-scm.com/book/en/Getting-Started-Installing-Git|install Git from sources]] ---- ==== Server Side Install ==== ---- <code> sudo apt-get update sudo apt-get install git </code> === Create git repository === Create the main repository for git projects: <code> > su git > cd $HOME > mkdir <git-projects> > chmod 2775 <git-projects> && cd <git-projects> </code> === Add shell users === <code> > sudo adduser <gituser> > sudo passwd <gituser> > sudo usermod -a -G git <gituser> </code> Login to server > ssh jcarlosd_los_ssh@ks307771.kimsufi.com > mkdir private/website.git > cd private/website.git > git init --bare > nano hooks/post-receive #!/bin/sh GIT_WORK_TREE=/var/www/www.lundiosoleil.com/web git checkout -f > chmod +x hooks/post-receive ON WORKSTATION > cd /Users/thibaut/Documents/apache2/MAMP_htdocs/osoleil > git init > git remote add web jcarlosd_los_ssh@www.lundiosoleil.com:/var/www/www.lundiosoleil.com/private/website.git > git add file1 file2 dir/* > git commit -m "Initial commit" > git push web +master:refs/heads/master ==== Useful Git Commands ==== It isn't in the scope of this article to help you learn Git, although here are a few commands that prove themselves useful in the course of my development experience <wrap todo>TO BE COMPLETED</wrap>