Gitsym是一款通过git符号链接的进行大文件处理的软件,其目的是从修订控制中分离出庞大的文件缓存。
特性:
Cloesofthesourcerepositoryaresmalladfastbecauseobiariesaretrasferred,yetfullyfuctioalwithcompletemetadataadicremetalretrieval(gitcloe--depthhaslimitedgraularityadcouplesmetadatatocotet).
git-bisectworksproperlyevewheversiosofthebiaryfileschageovertime.(Werecommedistalligagit-sym-post-checkout-hook,icasetheresourceshaveotbeecachedalready.)
selectivecotrolofwhichlargefilestopullitothelocalstore
Localfatobjectstorescabesharedbetweemultiplecloes,evebydifferetusers.
caeasilysupportfatobjectstoresdistributedacrossmultiplehosts,adpotetiallyaywhereitheworld
depedsolyostockPythoadsimpleUNIXcommads
安装:
您可以在您的$PATH中通过调用git-sym运行这个git命令。
l -sf `pwd`/git-sym ~/bi/git-sym或者,您也可以直接运行:
pytho git-sym -h基本用法:
repo用户
git-sym showgit-sym updaterepo所有者
git-sym lik --add my_big_file.gifgit commit -m 'git-sym added'ls -l my_big_file.gif或者更明确,利用规则检索
l -sf .git_sym/my_big_data.v123.db my_big_data.dbgit add my_big_data.dbgit commitcat <<EOF >> git_sym.makefilemy_big_data.v123.db: wget https://www.somewhere.com/my_big_data.v123.dbEOFgit-sym update









评论