Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I think that this is possible with git-annex as it exists right now, but I'm just looking to make sure.

Right now I have a file tree that looks something like this:

+ knowledge
+ media
+ ...

And this goes on and on.

I'd like to create a git-annex repo for each top level folder. This means that there will be about 5 different git-annex repos on one external hard drive. Each of those repos would have a remote on my local machine, a flash drive, and another external hard drive.

Before I go about moving these hundreds of gigabytes of files around, I just wanted to make sure that nothing should blow up if cd into each of those top level directories on my external drive and initialize a git annex repo inside each of them. After that I would add the contents of each folder to their respective annex formed in that folder. At the end of the day, if I did this, would I be left with each of those directories converted into their own git-annex repo, with each repor containing all of the files that used to be in that respective directory?

Thanks for the input!

share|improve this question
up vote 2 down vote accepted

Yes, you can have multiple, fully separate annexes.

You can even use the git-annex Webapp with this setup.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.