{"id":19252349,"url":"https://github.com/sccn/eeglab-testcases","last_synced_at":"2025-07-02T23:34:06.315Z","repository":{"id":77409882,"uuid":"327156576","full_name":"sccn/eeglab-testcases","owner":"sccn","description":null,"archived":false,"fork":false,"pushed_at":"2022-02-08T22:04:32.000Z","size":3999,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-03-02T16:59:18.726Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"MATLAB","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sccn.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-01-06T00:35:51.000Z","updated_at":"2024-08-09T02:50:52.000Z","dependencies_parsed_at":null,"dependency_job_id":"9cf30552-1db8-460d-aad2-983b6449a2a7","html_url":"https://github.com/sccn/eeglab-testcases","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/sccn/eeglab-testcases","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sccn%2Feeglab-testcases","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sccn%2Feeglab-testcases/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sccn%2Feeglab-testcases/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sccn%2Feeglab-testcases/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sccn","download_url":"https://codeload.github.com/sccn/eeglab-testcases/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sccn%2Feeglab-testcases/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263233764,"owners_count":23434890,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-09T18:26:32.806Z","updated_at":"2025-07-02T23:34:06.243Z","avatar_url":"https://github.com/sccn.png","language":"MATLAB","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Install git annex (easiest is probably using conda)\n\nSee this doc https://git-annex.branchable.com/install/\n\n# Clone an Openneuro repo\n```\ngit clone https://github.com/OpenNeuroDatasets/ds002718.git\ncd ds002718\ngit annex init\n```\nText output below\n\n```init  (merging origin/git-annex into git-annex...)\n(recording state in git...)\n(scanning for unlocked files...)\nRemote origin not usable by git-annex; setting annex-ignore\n(Auto enabling special remote s3-PUBLIC...)\nok\n(recording state in git...)\n```\n\nThe use the get command to get the files\n\n```\ngit annex get\n```\n\nNote that this is the list of remote\n\n```\ngit remote -v\norigin\thttps://github.com/OpenNeuroDatasets/ds002718.git (fetch)\norigin\thttps://github.com/OpenNeuroDatasets/ds002718.git (push)\ns3-PUBLIC\n```\n\n# Clone our repository\n\n```\ngit clone https://github.com/sccn/eeglab-testcases.git\ncd eeglab-testcases\ngit annex init\n```\n\nText output below\n\n```\ninit  (scanning for unlocked files...)\n\n  Remote origin not usable by git-annex; setting annex-ignore\nok\n(recording state in git...)\n```\n\nDoing a git annex get does not work.\nWe need to reset the remote. Note that even if the SCCN repo is not a bare git repo, it is possible to use it to pull large files from it (usually one should only pull and push from bare git repositories (like Github repos, which only contain metadata, no actual files)). One may pull from a standard git repo but this is not something commonly done. However, git-annex can only execute pull (and get) from standard git repos (bare git repos are still used for small files not managed by git-annex).\n\n```\ngit remote rm origin\ngit remote add origin ssh://arno@jumping.ucsd.edu/data/common/matlab/eeglab-testcases/eeglab-testcases\ngit pull\ngit annex get\n```\n\nThen we can reset it back to github to be able to make code changes and push them to Github\n\n```\ngit remote rm origin\ngit remote add origin https://github.com/sccn/eeglab-testcases\n```\n\nAlternative: This is the way to set a special remote using SSH https://git-annex.branchable.com/special_remotes/git/.\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsccn%2Feeglab-testcases","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsccn%2Feeglab-testcases","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsccn%2Feeglab-testcases/lists"}