Changes

From Amahi Wiki
Jump to: navigation, search
53 bytes removed ,  12:09, 13 March 2012
chmod 600 .ssh/authorized_keys
chown -R git:git .ssh/}}</li>
<li>Create init script{{Code|vi /etc/init.d/git}}and add the following
{{Text|Text=#!/bin/sh
<nowiki>#</nowiki>
{{Code|cd /var/cache/git/test.git/
echo "test test repo" > description}}</li>
<li>Configure user access{{Code|vi Update config}}as follows
{{Text|Text=[core]
repositoryformatversion = 0
{{Code|git remote add origin git@git.yourisp.com:test.git
git push origin master}}</li>
<li>Add to bottom of the configuration file{{Code|vi /etc/gitweb.conf}}
{{Text|Text=$feature{'blame'}{'default'} = [undef];
$feature{'pickaxe'}{'default'} = [undef];
12,424

edits