version control - convert exsisting git repository to git-lfs -
i acctualy trying convert git repository git-lfs. downloaded bitbucket test server, created repository , enabled lfs in options of repo , server. if call git-lfs track "*.psd" files, works fine. if push .psd files stored in git lfs location.the problem is, if push exsisting repository(clientside) empty git-lfs repo, files not stored inside git-lfs storage. however, if push .psd file after that, works fine.
do guys have idea how conver repo git-lfs ? have keep history etc. is. saw guides on that, nothing rly worked vor me. looking @ git-lfs-migrate, another script , other things. nothing of pushing tracked files lfs dir. directory
thanks helping me out !
frossy
the issue you're having when execute git lfs track *.psd
, affects happens photoshop files subsequently use git add
on - either modifications existing files or new files. has been committed remain as-is, embedded within git repo itself.
it possible convert repository history , extract large file content out of git , lfs, inherently require changing git history. in practice means it's best using repo clone fresh copy after perform conversion. obviously, make backups , co-ordinate team members may have :)
although i've done small tests myself, bfg repo cleaner seems have been successful lot of people; you've seen in threads you've read although there quite lot of other noise. there specific instructions converting lfs here: https://github.com/rtyley/bfg-repo-cleaner/releases/tag/v1.12.5
hth
Comments
Post a Comment