Gitolite permissions setup

This documents how to enforce the Gitolite permission to make LIVE branch writeable only by team leads How gitolite works Repository permission structure This is general format of repo definition REPO NAME rule line rule line for example @staff = dilbert alice wally bob repo foo RW+ = dilbert # line 1 RW+ dev = alice # line 2 - = wally # line 3 RW temp/ = @staff # line 4 R = ashok # line 5 The Rule line has format:

Installation of sshfs in the new VM

Installation of sshfs in the new VM On Centos 6, the fuse-sshfs is not part of default YUM repos. Get the ‘epel’ repos wget http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm wget http://rpms.famillecollet.com/enterprise/remi-release-6.rpm sudo rpm -Uvh remi-release-6*.rpm epel-release-6*.rpm Validate $ ls -1 /etc/yum.repos.d/epel* /etc/yum.repos.d/remi.repo /etc/yum.repos.d/epel.repo /etc/yum.repos.d/epel-testing.repo /etc/yum.repos.d/remi.repo It if good idea to enable the remi by default sudo vim /etc/yum.repos.d/remi.repo Installation sudo yum --enablerepo=epel -y install fuse-sshfs # install from EPEL usermod -a -G fuse thinkwrap Using Mount the host directory

Difference between matching and simple Git push

I started to see this message in some of my Git environments Git 2.0 from 'matching' to 'simple'. To squelch this message and maintain the current behavior after the default changes, use: git config --global push.default matching To squelch this message and adopt the new behavior now, use: git config --global push.default simple This is collection of information gathered from Stackoverflow, Git docs and various internet sources. Putting it together so that I do not have to google it again.

Binding DashDoc with editors and Eclipse

If you use DashDoc (see http://kapeli.com/dash), it can be integrated with editor or Eclipse to allow automatically find selected text in Dash documentation sets: Sublime Text This is easy - there is DashDoc plugin - https://sublime.wbond.net/packages/DashDoc The plugin is OS-X specific, because the DashDoc is Start Package Control (Cmd-Shift-P) select Install Package (type Install) select DashDoc The Ctrl-H does the search Eclipse There is opensource plugin for it at https://github.

Miro's World 2.0

The continuation of the old Wordpress blog with more agreeable tools: Github Wiki + Gollum, Markdown and Git. My old blog at Miro’s World has been kinda neglected in last two years. I have written several entries and published them only internally. I have decided now to pull those of the entries that do not contain customer references, code or customer IP out.