Git 文件缓存分离组件 Git sym

码农软件 · 软件分类 · Git开源工具 · 2019-11-03 23:28:53

软件介绍

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 store

  • Local 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 world

  • depends 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 update

repo所有者

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 <<EOF >> git_sym.makefile
my_big_data.v123.db:
        wget http://www.somewhere.com/my_big_data.v123.db
EOF
git-sym update

本文地址:https://www.codercto.com/soft/d/18218.html

编程之美:微软技术面试心得

编程之美:微软技术面试心得

《编程之美》小组 / 电子工业出版社 / 2018-9 / 79

《编程之美:微软技术面试心得》收集了约60道算法和程序设计的题目,这些题目大部分在微软的笔试、面试中出现过,有的曾被微软员工热烈地讨论过。作者试图从书中各种有趣的问题出发,引导读者发现问题、分析问题、解决问题,寻找更优的解法。《编程之美:微软技术面试心得》内容分为以下几个部分。 游戏之乐:从游戏和其他有趣问题出发,化繁为简,分析总结。 数字之魅:编程的过程实际上就是和数字及字符打交道的......一起来看看 《编程之美:微软技术面试心得》 这本书的介绍吧!

JS 压缩/解压工具
JS 压缩/解压工具

在线压缩/解压 JS 代码

RGB CMYK 转换工具
RGB CMYK 转换工具

RGB CMYK 互转工具

HEX HSV 转换工具
HEX HSV 转换工具

HEX HSV 互换工具