Use with git-annex? #601
Unanswered
tjohnston-cd
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm in the process of trying to figure out how I can use git-annex in conjunction with tools like
git filter-branch
to retroactively move large binary files "to the annex". In other words, I want to go through the history of an existing repository and replace all the large binary files with annexed files (by removing them from the git index and adding them to the annex, or something to that effect).There is some existing discussion of how to do this using
filter-branch
:Even from those, it's not clear what the standard, simplest/clearest way is to do this. Each of the suggestions seem to have a number of caveats or require adjustment to work in my case (not sure why just yet!) - I saw roughly the same thing when trying to apply git LFS to the same problem. So far I haven't been able to find a way that works for a relatively simple test case (new repo with 1 branch, 13 commits that create 10ish big files in a very simple directory structure).
So my question is this: does anyone out there have a working example / handbook style "best method" for doing this with
git-filter-repo
?Or should I start by reading the cheat sheet and related material in detail to come up with this myself?
Beta Was this translation helpful? Give feedback.
All reactions