svn - git : a file in the history without commits on it, how to explain it? -


i migrating many svn repositories many other git repositories. svn repos have more 113000 commits. end large git repos , shrink them.

i have used script find out largest objects. these objects not in branches anymore , wanted know commit related. not find ???

i used command

git log --pretty=oneline --branches -- my_big_file_full_path 

but nothing returned. can explain me why file has no associated commits ? if case how remove files not linked commits ?

ps : migration process quite heavy , using bfg (which fantastic) remove known unused folders.

did clean repository after using bfg? mentiond in "usage" section on bfg site should use

$ cd some-big-repo.git $ git reflog expire --expire=now --all $ git gc --prune=now --aggressive  

to rid of objects in repositories not part of commit.


Comments

Popular posts from this blog

Android layout hidden on keyboard show -

google app engine - 403 Forbidden POST - Flask WTForms -

c - Why would PK11_GenerateRandom() return an error -8023? -