diff --git a/README.md b/README.md index 026052a..915f192 100644 --- a/README.md +++ b/README.md @@ -23,13 +23,21 @@ How to check that container works (you must to have a key): provide interactive shell access. ... -How to upload a repo: +How to create a new repo: + + $ cd myrepo + $ git init --shared=true + $ git add . + $ git commit -m "my first commit" + $ cd .. + $ git clone --bare myrepo myrepo.git - From host: - $ mv myrepo.git ~/git-server/repos - From remote: - $ scp myrepo.git user@host:~/git-server/keys +How to upload a repo: + From host: + $ mv myrepo.git ~/git-server/repos + From remote: + $ scp myrepo.git user@host:~/git-server/repos How clone a repository: