Git LFS v1.3.0 发布, 一个 Git 的扩展

jopen 8年前
   <p style="text-align: center;"><img alt="" src="https://simg.open-open.com/show/f11875c01b2ebab2c5f6744d03679b76.png" /></p>    <p>Git LFS 使用引用小文本文件指针指向存储在 GitLab 服务器的大型文件。大型文件主要是高分辨率的图像和视频文件。</p>    <p>Git LFS 允许 Git 用户突破之前仓库给予的大小限制,但建议不要超过 1GB,这样可以保证性能,减少性能问题。</p>    <p style="text-align: center;"><img alt="" src="https://simg.open-open.com/show/009bcc927053275ba01fdc279a6c3ecb.gif" /></p>    <p style="text-align: center;"><img alt="" src="https://simg.open-open.com/show/434ae125cf3a872ce1c5c28f2593780c.png" /></p>    <h2>更新日志</h2>    <h3>新特性</h3>    <ul>     <li>use proxy from git config <a href="/misc/goto?guid=4958992667254340389" title="Use proxy from git config if available">#1173</a>, <a href="/misc/goto?guid=4958992667364888134">#1358</a> (<a href="/misc/goto?guid=4958992667465532563">@jonmagic</a>, <a href="/misc/goto?guid=4958992667565552152">@LizzHale</a>, <a href="/misc/goto?guid=4958992667668771049">@technoweenie</a>)</li>     <li>Enhanced upload/download of LFS content: <a href="/misc/goto?guid=4958992667768620351">#1265</a> <a href="/misc/goto?guid=4958992667872006167">#1279</a> <a href="/misc/goto?guid=4958992667968428506">#1297</a> <a href="/misc/goto?guid=4958992668083029892">#1303</a> <a href="/misc/goto?guid=4958992668179685092">#1367</a> (<a href="/misc/goto?guid=4958992668281614296">@sinbad</a>)      <ul>       <li>Resumable downloads using HTTP range headers</li>       <li>Resumable uploads using <a href="/misc/goto?guid=4958972557816368395">tus.io protocol</a></li>       <li>Pluggable <a href="/misc/goto?guid=4958992668415746397">custom transfer adapters</a></li>      </ul> </li>     <li>In git 2.9+, run "git lfs pull" in submodules after "git lfs clone" <a href="/misc/goto?guid=4958992668533346665">#1373</a> (<a href="/misc/goto?guid=4958992668281614296">@sinbad</a>)</li>     <li>cmd,doc,test: teach <code>git lfs track --{no-touch,verbose,dry-run}</code> <a href="/misc/goto?guid=4958992668649914197">#1344</a> (<a href="/misc/goto?guid=4958992668750525622">@ttaylorr</a>)</li>     <li>Retry transfers with expired actions <a href="/misc/goto?guid=4958992668850679507">#1350</a> (<a href="/misc/goto?guid=4958992668750525622">@ttaylorr</a>)</li>     <li>Safe track patterns <a href="/misc/goto?guid=4958992668964273956">#1346</a> (<a href="/misc/goto?guid=4958992668750525622">@ttaylorr</a>)</li>     <li>Add checkout --unstaged flag <a href="/misc/goto?guid=4958992669068221397">#1262</a> (<a href="/misc/goto?guid=4958992669174368088">@orivej</a>)</li>     <li>cmd/clone: add include/exclude via flags and config <a href="/misc/goto?guid=4958992669281036766">#1321</a> (<a href="/misc/goto?guid=4958992668750525622">@ttaylorr</a>)</li>     <li>Improve progress reporting when files skipped <a href="/misc/goto?guid=4958992669387632078">#1296</a> (<a href="/misc/goto?guid=4958992668281614296">@sinbad</a>)</li>     <li>Experimental file locking commands <a href="/misc/goto?guid=4958992669509463980">#1236</a>, <a href="/misc/goto?guid=4958992669608566442">#1259</a>, <a href="/misc/goto?guid=4958992669715304150">#1256</a>, <a href="/misc/goto?guid=4958992669816679598">#1386</a> (<a href="/misc/goto?guid=4958992668750525622">@ttaylorr</a>)</li>     <li>Implement support for GIT_SSH_COMMAND <a href="/misc/goto?guid=4958992669927347698">#1260</a> (<a href="/misc/goto?guid=4958992670027910847">@pdf</a>)</li>     <li>Recognize include/exclude filters from config <a href="/misc/goto?guid=4958992670125395428">#1257</a> (<a href="/misc/goto?guid=4958992668750525622">@ttaylorr</a>)</li>    </ul>    <h3>Bug修复</h3>    <ul>     <li>Fix bug in Windows installer under Win32. <a href="/misc/goto?guid=4958992670243064074">#1200</a> (<a href="/misc/goto?guid=4958992670343596356">@teo-tsirpanis</a>)</li>     <li>Updated request.GetAuthType to handle multi-value auth headers <a href="/misc/goto?guid=4958992670459365271">#1379</a> (<a href="/misc/goto?guid=4958992670559657132">@VladimirKhvostov</a>)</li>     <li>Windows fixes <a href="/misc/goto?guid=4958992670662599271">#1374</a> (<a href="/misc/goto?guid=4958992668281614296">@sinbad</a>)</li>     <li>Handle artifactory responses <a href="/misc/goto?guid=4958992670773755392">#1371</a> (<a href="/misc/goto?guid=4958992668750525622">@ttaylorr</a>)</li>     <li>use <code>git rev-list --stdin</code> instead of passing each remote ref <a href="/misc/goto?guid=4958992670880457265">#1359</a> (<a href="/misc/goto?guid=4958992667668771049">@technoweenie</a>)</li>     <li>docs/man: move "logs" subcommands from OPTIONS to COMMANDS <a href="/misc/goto?guid=4958992671002533406">#1335</a> (<a href="/misc/goto?guid=4958992668750525622">@ttaylorr</a>)</li>     <li>test/zero-len: update test for git v2.9.1 <a href="/misc/goto?guid=4958992671115644035">#1369</a> (<a href="/misc/goto?guid=4958992668750525622">@ttaylorr</a>)</li>     <li>Unbreak building httputil on OpenBSD <a href="/misc/goto?guid=4958992671224894634">#1360</a> (<a href="/misc/goto?guid=4958992671333138117">@jasperla</a>)</li>     <li>WIP transferqueue race fix <a href="/misc/goto?guid=4958992671440327573">#1255</a> (<a href="/misc/goto?guid=4958992667668771049">@technoweenie</a>)</li>     <li>Safety check to <code>comands.requireStdin</code> <a href="/misc/goto?guid=4958992671544094248">#1349</a> (<a href="/misc/goto?guid=4958992668750525622">@ttaylorr</a>)</li>     <li>Removed CentOS 5 from dockers. Fixed <a href="/misc/goto?guid=4958992671661339131">#1295</a>. <a href="/misc/goto?guid=4958992671760843990">#1298</a> (<a href="/misc/goto?guid=4958992671863434496">@javabrett</a>)</li>     <li>Fix 'git lfs fetch' with a sha1 ref <a href="/misc/goto?guid=4958992671975061833">#1323</a> (<a href="/misc/goto?guid=4958992672065516631">@omonnier</a>)</li>     <li>Ignore HEAD ref when fetching with --all <a href="/misc/goto?guid=4958992672176012878">#1310</a> (<a href="/misc/goto?guid=4958992668750525622">@ttaylorr</a>)</li>     <li>Return a fully remote ref to reduce chances of ref clashes <a href="/misc/goto?guid=4958992672284798080">#1248</a> (<a href="/misc/goto?guid=4958992667668771049">@technoweenie</a>)</li>     <li>Fix reporting of <code>git update-index</code> errors in <code>git lfs checkout</code> and <code>git lfs pull</code> <a href="/misc/goto?guid=4958992672398596989">#1400</a>(<a href="/misc/goto?guid=4958992667668771049">@technoweenie</a>)</li>    </ul>    <h3>杂项</h3>    <ul>     <li>Added Linux Mint Sarah to package cloud script <a href="/misc/goto?guid=4958992672506874597">#1384</a> (<a href="/misc/goto?guid=4958992672618030511">@andyneff</a>)</li>     <li>travis-ci: require successful tests against upcoming Git core release <a href="/misc/goto?guid=4958992672719905415">#1372</a> (<a href="/misc/goto?guid=4958992672816390924">@larsxschneider</a>)</li>     <li>travis-ci: add a build job to test against upcoming versions of Git <a href="/misc/goto?guid=4958992672903531624">#1361</a> (<a href="/misc/goto?guid=4958992672816390924">@larsxschneider</a>)</li>     <li>Create Makefiles for building with gccgo <a href="/misc/goto?guid=4958992673017114393">#1222</a> (<a href="/misc/goto?guid=4958992673096925937">@zeldin</a>)</li>     <li>README: add <a href="/misc/goto?guid=4958992668750525622">@ttaylorr</a> to core team <a href="/misc/goto?guid=4958992673218731790">#1332</a> (<a href="/misc/goto?guid=4958992668750525622">@ttaylorr</a>)</li>     <li>Enforced a minimum gem version of 1.0.4 for packagecloud-ruby <a href="/misc/goto?guid=4958992673334817060">#1292</a> (<a href="/misc/goto?guid=4958992671863434496">@javabrett</a>)</li>     <li>I think this should be "Once installed" and not "One installed", but … <a href="/misc/goto?guid=4958992673444558901">#1305</a> (<a href="/misc/goto?guid=4958992673547966311">@GabLeRoux</a>)</li>     <li>script/test: propagate extra args to go test <a href="/misc/goto?guid=4958992673650152436">#1324</a> (<a href="/misc/goto?guid=4958992672065516631">@omonnier</a>)</li>     <li>Add <code>lfs.basictransfersonly</code> option to disable non-basic transfer adapters <a href="/misc/goto?guid=4958992673763513906">#1299</a> (<a href="/misc/goto?guid=4958992668281614296">@sinbad</a>)</li>     <li>Debian build vendor test excludes <a href="/misc/goto?guid=4958992673877544637">#1291</a> (<a href="/misc/goto?guid=4958992671863434496">@javabrett</a>)</li>     <li>gitignore: ignore lfstest-* files <a href="/misc/goto?guid=4958992673994675906">#1271</a> (<a href="/misc/goto?guid=4958992668750525622">@ttaylorr</a>)</li>     <li>Disable gojsonschema test, causes failures when firewalls block it <a href="/misc/goto?guid=4958992674103497556">#1274</a> (<a href="/misc/goto?guid=4958992668281614296">@sinbad</a>)</li>     <li>test: use noop credential helper for auth tests <a href="/misc/goto?guid=4958992674218820034">#1267</a> (<a href="/misc/goto?guid=4958992668750525622">@ttaylorr</a>)</li>     <li>get git tests passing when run outside of repository <a href="/misc/goto?guid=4958992674334936843">#1229</a> (<a href="/misc/goto?guid=4958992667668771049">@technoweenie</a>)</li>     <li>Package refactor no.1 <a href="/misc/goto?guid=4958992674450700506">#1226</a> (<a href="/misc/goto?guid=4958992668281614296">@sinbad</a>)</li>     <li>vendor: vendor dependencies in vendor/ using Glide <a href="/misc/goto?guid=4958992674560295905">#1243</a> (<a href="/misc/goto?guid=4958992668750525622">@ttaylorr</a>)</li>    </ul>    <h2>下载</h2>    <ul>     <li><a href="/misc/goto?guid=4958992674678980618">RPM RHEL 6/CentOS 6</a></li>     <li><a href="/misc/goto?guid=4958992674779613833">RPM RHEL 7/CentOS 7</a></li>     <li><a href="/misc/goto?guid=4958992674885678002">Debian 7</a></li>     <li><a href="/misc/goto?guid=4958992674985832157">Debian 8</a></li>     <li><a href="/misc/goto?guid=4958992675084113273" rel="nofollow">3.11 MB<strong>Mac 386</strong></a></li>     <li><a href="/misc/goto?guid=4958992675188841205" rel="nofollow">3.35 MB<strong>Mac AMD64</strong></a></li>     <li><a href="/misc/goto?guid=4958992675285962401" rel="nofollow">3.12 MB<strong>FreeBSD 386</strong></a></li>     <li><a href="/misc/goto?guid=4958992675397306417" rel="nofollow">3.35 MB<strong>FreeBSD AMD64</strong></a></li>     <li><a href="/misc/goto?guid=4958992675497418641" rel="nofollow">3.13 MB<strong>Linux 386</strong></a></li>     <li><a href="/misc/goto?guid=4958992675596642234" rel="nofollow">3.36 MB<strong>Linux AMD64</strong></a></li>     <li><a href="/misc/goto?guid=4958992675704401795" rel="nofollow">4.73 MB<strong>Windows Installer</strong></a></li>     <li><a href="/misc/goto?guid=4958992675807250785" rel="nofollow">3.17 MB<strong>Windows 386</strong></a></li>     <li><a href="/misc/goto?guid=4958992675910010008" rel="nofollow">3.44 MB<strong>Windows AMD64</strong></a></li>     <li><a href="/misc/goto?guid=4958992676013136564" rel="nofollow"><strong>Source code</strong> (zip)</a></li>     <li><a href="/misc/goto?guid=4958992676121378661" rel="nofollow"><strong>Source code</strong> (tar.gz)</a></li>    </ul>