Skip to content

Instantly share code, notes, and snippets.

View netdesign's full-sized avatar

Netdesign netdesign

View GitHub Profile
@netdesign
netdesign / Walkthrough.mkd
Created May 31, 2012 11:40
Quick 'n dirty start with gitolite

NOTICE

IMPORTANT: This guide is for the old 2.x version of gitolite, which is(as of April 22nd 2012) the one found in most OS package repositories. Please consider using the current 3.x branch of gitolite, for which a very nice howto is written by the author.

Introduction

This is a quick walkthrough on how to install and begin using gitolite in under a minute(only 4 commands!). Just follow along through the shell blocks. Reading the gitolite docs is STRONGLY recommended.

Assumptions

this.e = function(e,cb){
var that=this,resolvedCb=function(event){cb.call(that,event)};
if(window.addEventListener){ // ALL
this.bj.addEventListener(e,resolvedCb,false);
}
else if(window.attachEvent){ // IE
this.bj.attachEvent(e,resolvedCb);
}
return this;
};