Changes

From Amahi Wiki
Jump to: navigation, search
44 bytes added ,  23:29, 16 March 2012
<li>Create repository
{{Code|cd /var/cache/git/
mkdir test.gitcd test.gitgit init --baregit close ../test.git test}}</li>
<li>Add test file and a short description
{{Code|cd /var/cache/git/test/echo 'test' > README
git add README
git commit -m "initial README file"
sed -i '1d' /var/cache/git/test​test.git​/.git/descriptionecho 'Test Repo' >> /var/cache/git/test​test.git​/.git/description}}</li><li>Edit '''/var/cache/git/test​.git/.git/config''' and add the following at the bottom
{{Text|Text=[gitweb]
owner = My HDA}}</li>
12,424

edits