Changes

From Amahi Wiki
Jump to: navigation, search
30 bytes removed ,  02:12, 14 March 2012
<li>Create repository
{{Code|cd /var/cache/git/
mkdir test.gitcd test.gitgit init --barechown -R git:git ../test.git/}}</li>
<li>Add a short description
{{Code|cd /var/cache/git/test.git/
echo "test test repo" > description}}</li>
<li>Edit '''config''' and add the following at the bottom
git commit -m "initial README file"}}</li>
<li>Create SSH rsa public key
{{Code|ssh-keygen -t rsa -C "adminuser@yourisp.com" -N amahi -f /var/cache/git/.ssh/authorized_keys}}</li>
<li>Push to the repository
{{Code|git remote add origin gituser@githda.yourisphome.com:test.git
git push origin master}}</li>
<li>Add to bottom of '''/etc/gitweb.conf''' file
12,424

edits