summaryrefslogtreecommitdiff
path: root/doc/tips/How_to_retroactively_annex_a_file_already_in_a_git_repo/comment_5_3062c0794ecd7c6237efae66f4d9b62f._comment
blob: e8ef98d999d70c8ea34fa57a5a8cfd675f1e6813 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
[[!comment format=mdwn
 username="https://www.google.com/accounts/o8/id?id=AItOawlcfH7xkyz1kyG_neK4GcFFfFWuIY7l_6A"
 nickname="Primiano"
 subject="large scale rewrite tips"
 date="2015-01-06T22:55:20Z"
 content="""
I recently had the need of re-kind-of-annexing an unusually large repo (one of the largest?).
With some tricks and the right code I managed to get it down to 170000 commits in 19 minutes and extracing ~8GB of blobs. 
Attaching the link here as I feel it might be helpful for very large projects (where git-filter-branch can become prohibitively slow) 

[https://www.primianotucci.com/blog/large-scale-git-history-rewrites](https://www.primianotucci.com/blog/large-scale-git-history-rewrites)

"""]]