Questions tagged [git-annex]

git-annex allows managing files with Git, without checking the file contents into Git. While that may seem paradoxical, it is useful when dealing with files larger than Git can currently easily handle, whether due to limitations in memory, time, or disk space.

Git-annex is an alternative to ; both systems work by replacing the files that are to be managed by, but not stored in, Git with "link" files. Git then manages the link file instead of the actual data. The actual data for each commit must be stored independently somewhere. The interesting choices here are the "somewhere", how and when the versioned-outside-Git files are synchronized, and how the system itself ( or ) comes up with names for each versioned file.

The host site for git-annex is https://git-annex.branchable.com/

62 questions
3
votes
1 answer

Git annex installation on Windows

I have installed git and git-annex on my Windows 8 to use with git bash. Git is ok, but git bash could not find git annex at first. I restarted my computer and now when it turns on a message pops up saying it cannot find git-annex-autostart.vbs.…
3
votes
2 answers

Annexed submodules in git

I'd like to keep some binary files (documentation, executable binary files, images, etc) in a git-annex, and then include them in several projects as git-submodules. I think this will allow me to keep track of the correct versions of these large…
chadsgilbert
  • 390
  • 1
  • 13
2
votes
1 answer

git annex with bup

Can any one tell me how to use git annex with bup. git annex initremote mybup type=bup encryption=none buprepo=example.com:/big/mybup is not working for me. if I type git annex it will list all commands, but in this initremote command is not…
2
votes
1 answer

Permissions error with ssh key authentication to remote: git annex get file

I am using git-annex to set up a file distribution system with git commands as the interface. I have configured a unix user account with .ssh key so that calls to the git remote are authenticated automatically. I have set the ownership and…
ted.strauss
  • 4,119
  • 4
  • 34
  • 57
2
votes
3 answers

Why won't git annex die?

Ages ago (months, anyway) I initialized git-annex on a repository for reasons that now escape me. I thought I managed to get rid of it, but today I discovered that it is still there and any new directories in the repository are "annexed" -- if I…
Amanda
  • 12,099
  • 17
  • 63
  • 91
2
votes
1 answer

git-annex use a file from a different location

My understanding is that when I perform git annex add somefile, it creates a symlink for that file and places it in the .git/annex/objects folder. Then, when I initialize git-annex in some different location and sync it with the previous one, it…
Mr.SrJenea
  • 483
  • 1
  • 6
  • 21
2
votes
0 answers

Renaming files in Git Annex with names too long to check out on the current filesystem

I have a bunch of files in Git, using Git Annex (which basically replaces all the files with symlinks and lets you only get the content when you need it). I populated a repo with some files on one machine, and I'm trying to sync them over to a…
interfect
  • 2,665
  • 1
  • 20
  • 35
2
votes
2 answers

Manage many small (~5KB) files with git-annex

I have been using git-annex for a while now to manage my data, and I have found it quite satisfactory. However, the performance of git annex is quite lacking when dealing with my neuroimaging data. This sort of data often comes as many image files…
TheChymera
  • 17,004
  • 14
  • 56
  • 86
2
votes
1 answer

git-annex: remove content of files from special remote that were deleted more than 4 weeks ago

I want to use git-annex as part of a sync and backup solution. There are several devices connected to a single git-annex repository, and a few special remotes as backup solutions (s3, external drives). Sometimes I don't need a file or directory…
muffel
  • 7,004
  • 8
  • 57
  • 98
1
vote
1 answer

How to copy files from ipfs using git annex?

I've cloned Git repository with files stored in local ipfs, I've initialized ipfs special remote, however I cannot download files stored in there. I've run: git annex copy --from ipfs as suggested in this page, but the files aren't downloaded. It's…
kenorb
  • 155,785
  • 88
  • 678
  • 743
1
vote
0 answers

Managing large quantity of files between two systems

We have a large repository of files that we want to keep in sync between one central location and multiple remote locations. Currently, this is being done using rsync, but it's a slow process mainly because of how long it takes to determine the…
blockcipher
  • 2,144
  • 4
  • 22
  • 35
1
vote
1 answer

De-annex directory managed by `git-annex`

There is an open source dataset that, if cloned, provides git-annex-managed symlinks. If I unlock the directory, I see files whose content has been replaced with hashes. For example, instead of the contents I see when accessing settings.xml via…
Chris Broz
  • 136
  • 8
1
vote
0 answers

Explanation of the git annex sync --content . command

While reading one of the articles, I found the following: $ git annex sync --content But I don't understand what the author meant here: "If someone else has shared assets to the server and you need to pull them, git annex sync will prompt your local…
C132
  • 103
  • 1
  • 6
1
vote
1 answer

How do I commit in git annex on Windows (adjusted branch)

I have a git and git annex project on a filesystem that does not suppport symlinks. Thus, I have to work with an adjusted branch, that means that on top of my "normal" branch I execute git annex adjust --unlock so that I get a new branch on which my…
akraf
  • 2,965
  • 20
  • 44
1
vote
0 answers

Unable to copy actual files on remote using git-annex

I currently want to deploy my existing git-annex repository on a new computer. My configuration is the following one: on serverA: I have a git bare (with git-annex) repository and no actual files on serverB: I have an classical git-annex local…
Guuk
  • 505
  • 3
  • 17