commit b0c9c388f8b0f29e35e2d9281b83540e9af3a667 parent 2266f6401e6296512fee3dd93b1f335b9627e5b2 Author: Akuario <jkarlos.b@gmail.com> Date: Tue, 7 Mar 2017 02:37:08 +0100 Merge branch 'master' of https://github.com/jkarlosb/git-docker Diffstat:
M | README.md | | | 18 | +++++++++++++----- |
1 file changed, 13 insertions(+), 5 deletions(-)
diff --git a/README.md b/README.md @@ -25,13 +25,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: