diff --git a/doc/bugs/GIN_is_not_recognized_as_a_git-annex_enabled_repos/comment_2_3e2f01eaaf717710a08ba092856af193._comment b/doc/bugs/GIN_is_not_recognized_as_a_git-annex_enabled_repos/comment_2_3e2f01eaaf717710a08ba092856af193._comment new file mode 100644 index 0000000000..0cc75496da --- /dev/null +++ b/doc/bugs/GIN_is_not_recognized_as_a_git-annex_enabled_repos/comment_2_3e2f01eaaf717710a08ba092856af193._comment @@ -0,0 +1,75 @@ +[[!comment format=mdwn + username="rinomizu5@5ead4c82685c65d7717dbd5591b80425036ae9e3" + nickname="rinomizu5" + avatar="http://cdn.libravatar.org/avatar/62478823018c68821064febcda7e5d4f" + subject="Additional Questions: git annex copy failed" + date="2022-08-08T10:31:04Z" + content=""" +Thanks for the advice, joey. + +I understand that the URL in the browser bar needs to be set to remote. +Then, after modifying the remote URL, I am trying to sync the contents of the git annex file to GIN using the https protocol. +But git annex copy command failed. +
(base) mizuguchi@ubuntu:~/https$ git annex copy --to=origin test2.txt
+copy test2.txt (not found) failed
+copy: 1 failed
+
+I checked the origin remote has annex-uuid, and it's the same as uuid of [annex] in https://gin.g-node.org/ivis-mizuguchi/https/config. +I would like to know why git annex cannot find test2.txt. + +### The version of the tool used in my environment is below. +- git version 2.24.0 +- git-annex version: 8.20211123+git12-g02e3756bd-1~ndall+1 + +### The repository in GIN +[https://gin.g-node.org/ivis-mizuguchi/https](https://gin.g-node.org/ivis-mizuguchi/https) + +### I have done the following process and failed. +1. Create a repository named [https](https://gin.g-node.org/ivis-mizuguchi/https) in GIN with initialization. And set the repository to public. +2. git clone https://gin.g-node.org/ivis-mizuguchi/https +3. cd https +4. git annex init +5. echo \"test\" > test.txt +6. git annex add test.txt +7. git commit -m \"test\" +8. git annex sync origin +9. echo \"test\" > test2.txt +10. git annex add 'test2.txt' +11. git commit -m 'test2' +12. git push origin master +13. git annex copy --to=origin test2.txt +
(base) mizuguchi@ubuntu:~/https$ git annex copy --to=origin test2.txt
+copy test2.txt (not found) failed
+copy: 1 failed
+
+14. cat .git/config +
(base) mizuguchi@ubuntu:~/https$ cat .git/config
+[core]
+	repositoryformatversion = 0
+	filemode = true
+	bare = false
+	logallrefupdates = true
+[remote "origin"]
+	url = https://gin.g-node.org/ivis-mizuguchi/https
+	fetch = +refs/heads/*:refs/remotes/origin/*
+	annex-uuid = c7a50190-9146-44de-8f1d-288551fa32e3
+[branch "master"]
+	remote = origin
+	merge = refs/heads/master
+[annex]
+	uuid = 80f0adc3-3144-4bba-a288-09a9ab009cef
+	version = 8
+[filter "annex"]
+	smudge = git-annex smudge -- %f
+	clean = git-annex smudge --clean -- %f
+
+ +Any advice would be appreciated. +Sincerely, +Rino Mizuguchi + + + + + +"""]]