git-server-docker-stagit

git-server-with-stagit
git clone git://git.andersuno.nu/git-server-docker-stagit.git
Log | Files | Refs | README

commit c759f886fa4fe716216d42f7d272ed716244c5d6
parent 47f22278e4860b073ae281068251aeb796204824
Author: Carlos Bernárdez <carlos@z4studios.com>
Date:   Thu, 23 Feb 2017 22:57:02 +0100

Updated Readme.md with create repo How-to
Diffstat:
MREADME.md | 18+++++++++++++-----
1 file changed, 13 insertions(+), 5 deletions(-)

diff --git 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: