]> dgit.raspbian.org Git - git-annex.git/blob
b0247876650286e052c3a48dd7de3c96a189015b
[git-annex.git] /
1 [[!comment format=mdwn
2  username="andrew"
3  avatar="http://cdn.libravatar.org/avatar/acc0ece1eedf07dd9631e7d7d343c435"
4  subject="gcrypt, git-annex and rsync requires absolute path"
5  date="2017-12-05T13:49:42Z"
6  content="""
7 I struggled to get git-annex sync working for some time with gcrypt and the rsync transport protocol. It turns out I was using a relative path to my repo instead of an absolute path. In my .git/config with a url like this: `gcrypt::rsync://username@servername:relative-path-to-git-repo` where relative path is relative to my user's home directory, git push would work fine, but git-annex sync would complain it couldn't find the repository. Changing my url to an absolute path like `gcrypt::rsync://username@servername:absolute-path-to-git-repo` now allows both git-annex sync and git push to work. Andrew.
8 """]]