文件名称:Git文件缓存分离组件Gitsym.zip
文件大小:10KB
文件格式:ZIP
更新时间:2022-08-06 22:28:38
开源项目
Git sym是一款通过git符号链接的进行大文件处理的软件,其目的是从修订控制中分离出庞大的文件缓存。特性:Clones of the source repository are small and fast because no
binaries are transferred, yet fully functional with complete metadata
and incremental retrieval (git clone --depth has limited granularity and
couples metadata to content).git-bisect works properly even when versions of the binary files change over time. (We recommend installing a git-sym-post-checkout-hook, in case the resources have not been cached already.)selective control of which large files to pull into the local storeLocal fat object stores can be shared between multiple clones, even by different users.can easily support fat object stores distributed across multiple hosts, and potentially anywhere in the worlddepends only on stock Python and simple UNIX commands安装:您可以在您的$ PATH中通过调用git-sym运行这个git命令。ln -sf `pwd`/git-sym ~/bin/git-sym或者,您也可以直接运行:python git-sym -h基本用法:repo用户git-sym show
git-sym updaterepo所有者git-sym link --add my_big_file.gif
git commit -m 'git-sym added'
ls -l my_big_file.gif或者更明确,利用规则检索ln -sf .git_sym/my_big_data.v123.db my_big_data.db
git add my_big_data.db
git commit
cat <
【文件预览】:
git-sym-master
----links()
--------foo(60B)
--------subdir()
--------unrelated(1B)
----.gitignore(10B)
----git-sym(21KB)
----README.md(993B)
----.gitmodules(97B)
----LICENSE(1KB)
----git-sym.makefile(307B)
----experimental.ini(24B)
----git-sym-test()