Git LFS v2.0.0 发布, 一个 Git 的扩展
jopen 8年前
<p style="text-align: center;"><strong><img alt="" src="https://simg.open-open.com/show/f11875c01b2ebab2c5f6744d03679b76.png" /></strong></p> <p> </p> <p>Git LFS 使用引用小文本文件指针指向存储在 GitLab 服务器的大型文件。大型文件主要是高分辨率的图像和视频文件。</p> <p>Git LFS 允许 Git 用户突破之前仓库给予的大小限制,但建议不要超过 1GB,这样可以保证性能,减少性能问题。</p> <p style="text-align: center;"><a href="https://simg.open-open.com/show/009bcc927053275ba01fdc279a6c3ecb.gif"><img alt="" src="https://simg.open-open.com/show/009bcc927053275ba01fdc279a6c3ecb.gif" /></a></p> <p style="text-align: center;"><a href="https://simg.open-open.com/show/434ae125cf3a872ce1c5c28f2593780c.png"><img alt="" src="https://simg.open-open.com/show/434ae125cf3a872ce1c5c28f2593780c.png" /></a></p> <h2>更新日志</h2> <ul> <li>Mid-stage locking support <a href="/misc/goto?guid=4959000941751830955">#1769</a> (<a href="/misc/goto?guid=4958992668281614296">@sinbad</a>)</li> <li>Define lockable files, make read-only in working copy <a href="/misc/goto?guid=4959000941915307633">#1870</a> (<a href="/misc/goto?guid=4958992668281614296">@sinbad</a>)</li> <li>Check that files are not uncommitted before unlock <a href="/misc/goto?guid=4959000942032326592">#1896</a> (<a href="/misc/goto?guid=4958992668281614296">@sinbad</a>)</li> <li>Fix <code>lfs unlock --force</code> on a missing file <a href="/misc/goto?guid=4959000942171944339">#1927</a> (<a href="/misc/goto?guid=4958992667668771049">@technoweenie</a>)</li> <li>locking: teach pre-push hook to check for locks <a href="/misc/goto?guid=4959000942311470922">#1815</a> (<a href="/misc/goto?guid=4958992668750525622">@ttaylorr</a>)</li> <li>locking: add <code>--json</code> flag <a href="/misc/goto?guid=4959000942460692859">#1814</a> (<a href="/misc/goto?guid=4958992668750525622">@ttaylorr</a>)</li> <li>Implement local lock cache, support querying it <a href="/misc/goto?guid=4959000942576095734">#1760</a> (<a href="/misc/goto?guid=4958992668281614296">@sinbad</a>)</li> <li>support for client certificates pt 2 <a href="/misc/goto?guid=4959000942716582294">#1893</a> (<a href="/misc/goto?guid=4958992667668771049">@technoweenie</a>)</li> <li>Fix clash between progress meter and credential helper <a href="/misc/goto?guid=4959000942829958287">#1886</a> (<a href="/misc/goto?guid=4958992667668771049">@technoweenie</a>)</li> <li>Teach uninstall cmd about --local and --system <a href="/misc/goto?guid=4959000942959954323">#1887</a> (<a href="/misc/goto?guid=4958992667668771049">@technoweenie</a>)</li> <li>Add <code>--skip-repo</code> option to <code>git lfs install</code> & use in tests <a href="/misc/goto?guid=4959000943079218833">#1868</a> (<a href="/misc/goto?guid=4958992668281614296">@sinbad</a>)</li> <li>commands: convert push, pre-push to use async gitscanner <a href="/misc/goto?guid=4959000943200467079">#1812</a> (<a href="/misc/goto?guid=4958992668750525622">@ttaylorr</a>)</li> <li>tq: prioritize transferring retries before new items <a href="/misc/goto?guid=4959000943326090305">#1758</a> (<a href="/misc/goto?guid=4958992668750525622">@ttaylorr</a>)</li> <li>ensure you're in the correct directory when installing <a href="/misc/goto?guid=4959000943448180028">#1793</a> (<a href="/misc/goto?guid=4958992667668771049">@technoweenie</a>)</li> <li>locking: make API requests relative to repository, not root <a href="/misc/goto?guid=4959000943578236678">#1818</a> (<a href="/misc/goto?guid=4958992668750525622">@ttaylorr</a>)</li> <li>Teach 'track' about CRLF <a href="/misc/goto?guid=4959000943701942356">#1914</a> (<a href="/misc/goto?guid=4958992667668771049">@technoweenie</a>)</li> <li>Teach 'track' how to handle empty lines in .gitattributes <a href="/misc/goto?guid=4959000943818741954">#1921</a> (<a href="/misc/goto?guid=4958992667668771049">@technoweenie</a>)</li> <li>Closing stdout pipe before function return <a href="/misc/goto?guid=4959000943943580579">#1861</a> (<a href="/misc/goto?guid=4959000944057601961">@monitorjbl</a>)</li> <li>Custom transfer terminate <a href="/misc/goto?guid=4959000944176002372">#1847</a> (<a href="/misc/goto?guid=4958992668281614296">@sinbad</a>)</li> <li>Fix Install in root problems <a href="/misc/goto?guid=4959000944290635469">#1727</a> (<a href="/misc/goto?guid=4958992667668771049">@technoweenie</a>)</li> <li>cat-file batch: read all of the bytes <a href="/misc/goto?guid=4959000944417897605">#1680</a> (<a href="/misc/goto?guid=4958992667668771049">@technoweenie</a>)</li> <li>Fixed file paths on cygwin. <a href="/misc/goto?guid=4959000944543210286">#1820</a>, <a href="/misc/goto?guid=4959000944648124130">#1965</a> (<a href="/misc/goto?guid=4959000944761237893">@creste</a>, <a href="/misc/goto?guid=4958992668750525622">@ttaylorr</a>)</li> <li>tq: decrement uploaded bytes in basic_upload before retry <a href="/misc/goto?guid=4959000944876678301">#1958</a> (<a href="/misc/goto?guid=4958992668750525622">@ttaylorr</a>)</li> <li>progress: fix never reading bytes with sufficiently small files <a href="/misc/goto?guid=4959000945009935996">#1955</a> (<a href="/misc/goto?guid=4958992668750525622">@ttaylorr</a>)</li> <li>tools: fix truncating string fields between balanced quotes in GIT_SSH_COMMAND <a href="/misc/goto?guid=4959000945134237951">#1962</a> (<a href="/misc/goto?guid=4958992668750525622">@ttaylorr</a>)</li> <li>commands/smudge: treat empty pointers as empty files <a href="/misc/goto?guid=4959000945258557594">#1954</a> (<a href="/misc/goto?guid=4958992668750525622">@ttaylorr</a>)</li> <li>all: build using Go 1.8 <a href="/misc/goto?guid=4959000945372248223">#1952</a> (<a href="/misc/goto?guid=4958992668750525622">@ttaylorr</a>)</li> <li>Embed the version information into the Windows executable <a href="/misc/goto?guid=4959000945496363736">#1689</a> (<a href="/misc/goto?guid=4958994472759746240">@sschuberth</a>)</li> <li>Add more meta-data to the Windows installer executable <a href="/misc/goto?guid=4959000945639218742">#1752</a> (<a href="/misc/goto?guid=4958994472759746240">@sschuberth</a>)</li> <li>docs/api: object size must be positive <a href="/misc/goto?guid=4959000945767250751">#1779</a> (<a href="/misc/goto?guid=4958992668750525622">@ttaylorr</a>)</li> <li>build: omit DWARF tables by default <a href="/misc/goto?guid=4959000945893602947">#1937</a> (<a href="/misc/goto?guid=4958992668750525622">@ttaylorr</a>)</li> <li>Add test to prove set operator [] works in filter matching <a href="/misc/goto?guid=4959000946010129110">#1768</a> (<a href="/misc/goto?guid=4958992668281614296">@sinbad</a>)</li> <li>test: add ntlm integration test <a href="/misc/goto?guid=4959000946138411559">#1840</a> (<a href="/misc/goto?guid=4958992667668771049">@technoweenie</a>)</li> <li>lfs/tq: completely remove legacy support <a href="/misc/goto?guid=4959000946264315889">#1686</a> (<a href="/misc/goto?guid=4958992668750525622">@ttaylorr</a>)</li> <li>remove deprecated features <a href="/misc/goto?guid=4959000946381444482">#1679</a> (<a href="/misc/goto?guid=4958992667668771049">@technoweenie</a>)</li> <li>remove legacy api support <a href="/misc/goto?guid=4959000946517153896">#1629</a> (<a href="/misc/goto?guid=4958992667668771049">@technoweenie</a>)</li> </ul> <h2>下载</h2> <ul> <li><a href="/misc/goto?guid=4959000946627016346" rel="nofollow"><strong>Mac 386</strong></a></li> <li><a href="/misc/goto?guid=4959000946738602437" rel="nofollow"><strong>Mac AMD64</strong></a></li> <li><a href="/misc/goto?guid=4959000946848486130" rel="nofollow"><strong>FreeBSD 386</strong></a></li> <li><a href="/misc/goto?guid=4959000946947596620" rel="nofollow"><strong>FreeBSD AMD64</strong></a></li> <li><a href="/misc/goto?guid=4959000947054596582" rel="nofollow"><strong>Linux 386</strong></a></li> <li><a href="/misc/goto?guid=4959000947163620018" rel="nofollow"><strong>Linux AMD64</strong></a></li> <li><a href="/misc/goto?guid=4959000947285504864" rel="nofollow"><strong>Windows Installer</strong></a></li> <li><a href="/misc/goto?guid=4959000947390201570" rel="nofollow"><strong>Windows 386</strong></a></li> <li><a href="/misc/goto?guid=4959000947504941491" rel="nofollow"><strong>Windows AMD64</strong></a></li> <li><a href="/misc/goto?guid=4959000947603413678" rel="nofollow"><strong>Source code</strong> (zip)</a></li> <li><a href="/misc/goto?guid=4959000947712459220" rel="nofollow"><strong>Source code</strong> (tar.gz)</a></li> </ul> <p>本站原创,转载时保留以下信息:<br /> 本文转自:深度开源(open-open.com)<br /> 原文地址:<a href="http://www.open-open.com/news/view/3bc3354a">http://www.open-open.com/news/view/3bc3354a</a></p>