Category Archives: Version Control System

How to split a git repository into two

First of all, as a disclaimer: I am not a git guru but. It seems this subject is somehow obscure and it required googling around almost one day. Well, let’s get started. I assume that we have the following structure: repo1.git/                 .git/                 directory1/                 directory2/                 directory3/ and we want: repo2.git/                 .git/ … Continue reading How to split a git repository into two

Setup Gitolite v3 and Email Notifications

The most common setting would be to configure the email hooks to send notifications on a push operation. This is not hard, however, I found the information of how to setup email notifications are pieces and pieces everywhere online, some of them are targeting Gitolite v2, and some of them are misleading. After tried some approaches, … Continue reading Setup Gitolite v3 and Email Notifications

Migrate from SVN to GIT – step by step tutorial

Lately I faced a new challenge. To fully migrate our SVN environment to GIT. After reading a little bit on internet I come up with this plan: Deploy a GIT server Create a new bare repository Make a SVN Clone on a different machine Push it on GIT server Assumptions: SVN Repository: https://192.168.0.5/svn/documentation GIT Server: 192.168.0.22 … Continue reading Migrate from SVN to GIT – step by step tutorial

How to install mercurial on debian squeeze

This document describes how to install and configure mercurial on linux debian squeeze. With minor changes you can use this procedure on different linux distributions. 1. Install required packages [codesyntax lang=”bash”] aptitude install mercurial libapache2-mod-wsgi [/codesyntax] 2. Create repositories directories mkdir -pv /repositories chown -R www-data:www-data /repositories cd /repositories 3. Configure hgweb.cgi script in order … Continue reading How to install mercurial on debian squeeze