Skip to content

Commit

Permalink
explain how to find the hash, closes cjb#22
Browse files Browse the repository at this point in the history
  • Loading branch information
anarcat committed May 31, 2015
1 parent 3c29320 commit aee9dd6
Showing 1 changed file with 16 additions and 0 deletions.
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
```

# Design

The design of GitTorrent has five components:
Expand Down

0 comments on commit aee9dd6

Please sign in to comment.