Merge branch 'master' of ssh://git-annex.branchable.com

This commit is contained in:
Joey Hess 2017-03-13 16:33:28 -04:00
commit a20b0e0003
No known key found for this signature in database
GPG key ID: C910D9222512E3C7
3 changed files with 57 additions and 0 deletions

View file

@ -0,0 +1,13 @@
[[!comment format=mdwn
username="Michel"
avatar="http://cdn.libravatar.org/avatar/cf9fdab9aa34af56f769bf584c8e7011"
subject="Solution"
date="2017-03-11T00:44:18Z"
content="""
I found a relatively simple solution by setting the following in .gitattributes:
```
* annex.largefiles=(largerthan=0kb)
```
"""]]

View file

@ -0,0 +1,35 @@
I'm trying to set up a public repository that is cloneable from my web site,
similar to what is mentioned at
https://git-annex.branchable.com/tips/setup_a_public_repository_on_a_web_site/
I've got a repo from my laptop that I can push to my web server, and I can list
the contents of the `.git` directory:
$ curl https://example.com/annex/.git/
<html>
<head><title>Index of /annex/.git/</title></head>
<body bgcolor="white">
<h1>Index of /annex/.git/</h1><hr><pre><a href="../">../</a>
<a href="annex/">annex/</a> 12-Mar-2017 17:42 -
<a href="branches/">branches/</a> 12-Mar-2017 17:38 -
<a href="hooks/">hooks/</a> 12-Mar-2017 17:38 -
<a href="info/">info/</a> 12-Mar-2017 17:38 -
<a href="logs/">logs/</a> 12-Mar-2017 17:38 -
<a href="objects/">objects/</a> 12-Mar-2017 17:40 -
<a href="refs/">refs/</a> 12-Mar-2017 17:38 -
<a href="HEAD">HEAD</a> 12-Mar-2017 17:39 23
<a href="config">config</a> 12-Mar-2017 17:40 269
<a href="description">description</a> 12-Mar-2017 17:38 73
<a href="index">index</a> 12-Mar-2017 17:41 1200
</pre><hr></body>
</html>
However, when I try to clone it to simulate what I expect people to do, I get:
$ git clone https://exmaple.com/annex/.git
Cloning into 'annex...
fatal: repository 'https://example.com/annex/.git/' not found
I've configured with `git config core.sharedrepository world` and `git config
receive.denyCurrentBranch updateInstead`, but it doesn't seem to be working as I
can't clone the repository over https.

View file

@ -0,0 +1,9 @@
[[!comment format=mdwn
username="hobbie123"
avatar="http://cdn.libravatar.org/avatar/757597b9cb81748641d047835128e96c"
subject="windows password "
date="2017-03-13T06:28:14Z"
content="""
<a href=\"http://www.passwordmanagers.net/resources/Necessary-Softwares-for-Work-and-Life-6.html\">Password Manager</a>
is a free manager for XP and windows password issues and it works as good as can be expected. In addition,the main thing is to stop using the external hard disk until you use this tool, and avoid writing any files to it.
"""]]