Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,22 @@ touch somerepo/.git/git-daemon-export-ok
gittorrentd
```

If all goes well, you should see something like:

```
in repo somerepo/.git/git-daemon-export-ok
somerepo/.git/
Announcing a5491738f6415acb996f98800b33421ea472d2d6 for ref
refs/heads/master on repo somerepo/.git/
{"repositories":{"test":{"master":"a5491738f6415acb996f98800b33421ea472d2d6"}}}
```

You then can use that hash in URLs to clone that repo elsewhere:

```
git clone gittorrent://a5491738f6415acb996f98800b33421ea472d2d6/somerepo
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

This hash is the hash of master

```

# Design

The design of GitTorrent has five components:
Expand Down