{"id":24529923,"url":"https://github.com/mschubert/git-annex","last_synced_at":"2026-02-19T12:03:05.583Z","repository":{"id":31424120,"uuid":"34987612","full_name":"mschubert/git-annex","owner":"mschubert","description":null,"archived":false,"fork":false,"pushed_at":"2015-08-06T21:03:12.000Z","size":144,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-10-29T00:50:35.588Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"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/mschubert.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}},"created_at":"2015-05-03T13:53:19.000Z","updated_at":"2018-06-27T00:38:24.000Z","dependencies_parsed_at":"2022-09-05T19:00:33.408Z","dependency_job_id":null,"html_url":"https://github.com/mschubert/git-annex","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mschubert/git-annex","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mschubert%2Fgit-annex","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mschubert%2Fgit-annex/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mschubert%2Fgit-annex/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mschubert%2Fgit-annex/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mschubert","download_url":"https://codeload.github.com/mschubert/git-annex/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mschubert%2Fgit-annex/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29612510,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-19T10:52:55.328Z","status":"ssl_error","status_checked_at":"2026-02-19T10:52:26.323Z","response_time":117,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":"2025-01-22T07:53:05.273Z","updated_at":"2026-02-19T12:03:05.509Z","avatar_url":"https://github.com/mschubert.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# git-annex\n\nnormal usage of git\nadvantages of using VCS\nshould not add binary data [blows up repository]\n\nproblems: analysis result files not kept\n[why is this a problem? if scripts are kept, could just rerun -\u003e but: takes time, etc.]\n\nmanual: rsync backups to server\n\ngithub lfs: only load files that are checked out, stored outside repo\nproblems: 1gb traffic/month, confidential data?\n\nideal solution:\n- keep all versions of code\n- but also: keep all results + store them internally\n- be able to access them with revisions\n\nalternative: annex\n- provides exactly that\n\n```bash\ngit annex init\ngit annex untrust .\ngit remote add ebi ssh://ebi/path/to/repository # clone this before on the server\ngit annex trust ebi\n```\n\nthis will tell git to keep a copy of all your binary files on the server, tied to the revision\n\n```bash\nadd annex add myplot.pdf # use --force if they are filtered in your .gitignore\ngit commit -m \"adding plot\"\ngit push origin\ngit push origin git-annex:git-annex # this is required to transparently pull files (better solution?)\n```\n\nafter that, all data files are backed up to ebi; all code files go to github [+can be pulled at ebi]\n\nwhen checkout out a revision, code+links to binary files are checked out\nlinks may be broken, if they are need to copy files to local store:\n\n```bash\n# get a file from a remote where it is available\ngit get myplot.pdf\n# drop a file locally to save space\ngit annex move --unused --to ebi\n```\n\n(this might be better done as a commit hook if annex+ebi remote is avail?)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmschubert%2Fgit-annex","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmschubert%2Fgit-annex","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmschubert%2Fgit-annex/lists"}