After I created a git repository, I added annex to it.
Now, if I add a new file with 'git add', it goes into the annex. However previously existing files are not in the annex.
What are the implications of this? Should I care?
FWIW, most of the files are small, so I see no reason for the annex for them.
How do I add a new file and not put it in the annex?
How to I switch a file from one to the other?
Thanks.
My previous posting looks like I'm not aware of largefiles, which would mostly answer my question. My problem was that, after reading some doc that might not have been fully updated for v6, I got confused about the difference between an unlocked file in the annex, and a file not in the annex.
In any case, since I added some small files before using largefiles, those small files were put in the annex. How do I change them to be in the git repository not in the annex?
Thanks.
Right, it's a feature of v6 mode that
git add
adds the file to the annex, unless annex.largefiles is configured to make it be added directly to the git repository.To switch your small files that are currently annexed to be added directly to git, the easiest way is: