Skip to content

Commit

Permalink
Updated Readme.md with create repo How-to
Browse files Browse the repository at this point in the history
  • Loading branch information
jkarlosb committed Feb 23, 2017
1 parent 47f2227 commit c759f88
Showing 1 changed file with 13 additions and 5 deletions.
18 changes: 13 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand Down

1 comment on commit c759f88

@jkarlosb
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Related to #1

Please sign in to comment.