亚洲国产日韩欧美一区二区三区,精品亚洲国产成人av在线,国产99视频精品免视看7,99国产精品久久久久久久成人热,欧美日韩亚洲国产综合乱

directory search
Guides gitattributes giteveryday gitglossary gitignore gitmodules gitrevisions gittutorial gitworkflows Administration git archive git bundle git clean git filter-branch git fsck git gc git instaweb git reflog Basic Snapshotting git add git commit git diff git mv git reset git rm git status Branching and Merging git branch git checkout git log git merge git mergetool git stash git tag Debugging git bisect git blame git grep Email git am git format-patch git request-pull git send-email External Systems git fast-import git svn Getting and Creating Projects git clone git init Git git annotate git archimport git bisect-lk2009 git check-attr git check-mailmap git check-ref-format git checkout-index git cherry git citool git column git credential git credential-cache git credential-store git cvsexportcommit git cvsimport git cvsserver git diff-files git diff-tree git difftool git fast-export git fetch-pack git fmt-merge-msg git get-tar-commit-id git gui git http-backend git http-fetch git http-push git imap-send git index-pack git interpret-trailers git ls-remote git ls-tree git mailinfo git mailsplit git merge-file git merge-index git merge-one-file git merge-tree git mktag git mktree git name-rev git notes git p4 git pack-objects git pack-redundant git pack-refs git parse-remote git patch-id git prune git prune-packed git quiltimport git receive-pack git remote-ext git remote-fd git remote-testgit git repack git replace git rerere git send-pack git sh-i18n git sh-setup git shell git show-branch git show-index git stripspace git unpack-file git unpack-objects git upload-archive git upload-pack git var git verify-commit git verify-tag git whatchanged git worktree Inspection and Comparison git describe git shortlog git show Miscellaneous api credentials api index gitcli gitcore tutorial gitcredentials gitcvs migration gitdiffcore githooks gitk gitnamespaces gitremote helpers gitrepository layout gitsubmodules gittutorial 2 gitweb gitweb.conf pack format User Manual Patching git apply git cherry-pick git rebase git revert Plumbing Commands git cat-file git check-ignore git commit-tree git count-objects git diff-index git for-each-ref git hash-object git ls-files git merge-base git read-tree git rev-list git rev-parse git show-ref git symbolic-ref git update-index git update-ref git verify-pack git write-tree Server Admin git daemon git update-server-info Setup and Config git git config git help Sharing and Updating Projects git fetch git pull git push git remote git submodule
characters

名稱

git-index-pack  - 為現(xiàn)有打包歸檔文件生成包索引文件

概要

git index-pack [-v] [-o <index-file>] <pack-file>git index-pack --stdin [--fix-thin] [--keep] [-v] [-o <index-file>]                 [<pack-file>]

描述

從指定文件讀取壓縮歸檔文件(.pack),并為其構(gòu)建一個(gè)包索引文件(.idx)。打包的壓縮文件和包索引可以放在 Git 倉(cāng)庫(kù)的 objects / pack / 目錄中。

選項(xiàng)

-v

詳細(xì)了解正在發(fā)生的事情,包括進(jìn)度狀態(tài)。

-o <index-file>

將生成的包索引寫入指定的文件。如果沒有這個(gè)選項(xiàng),包裝索引文件的名稱是通過將 .pack 替換為 .idx(并且如果打包歸檔的名稱不以 .pack 結(jié)尾,則程序失?。拇虬鼩w檔文件的名稱構(gòu)造的。

--stdin

提供此標(biāo)志時(shí),將從 stdin 中讀取該包,然后將副本寫入<pack-file>。如果未指定<pack-file>,那么該包將被寫入當(dāng)前 Git 存儲(chǔ)庫(kù)的 objects / pack / 目錄,其默認(rèn)名稱將根據(jù)包內(nèi)容確定。如果未指定<pack-file>,請(qǐng)考慮使用--keep 來防止此進(jìn)程與之間的爭(zhēng)用情況git repack。

--fix-thin

通過將已分類對(duì)象所基于的排除對(duì)象添加到包中,修復(fù)由(請(qǐng)參閱git-pack-objects [1]獲得的詳細(xì)信息)git pack-objects --thin生成的“瘦” 包。這個(gè)選項(xiàng)與--stdin 一起使用才有意義。

--keep

在將索引移動(dòng)到其最終目標(biāo)之前,請(qǐng)為關(guān)聯(lián)的包文件創(chuàng)建一個(gè)空的.keep 文件。該選項(xiàng)通常需要使用--stdin 來防止同時(shí)git repack進(jìn)程刪除新構(gòu)建的包和索引,然后才能更新引用以使用包中包含的對(duì)象。

--keep=<msg>

像--keep 在將索引移動(dòng)到其最終目標(biāo)之前創(chuàng)建一個(gè).keep 文件,而不是創(chuàng)建一個(gè)空文件位置,然后<msg>將LF放入.keep 文件中。稍后可以在所有.keep 文件中搜索該<msg>消息以找到任何已失效的文件。

--index-version=<version>,<offset>

這僅供測(cè)試套件使用。它允許強(qiáng)制生成的包索引的版本,并強(qiáng)制位于給定偏移量以上的對(duì)象上的64位索引條目。

--strict

死亡,如果包裝包含破碎的物體或鏈接。

--check-self-contained-and-connected

如果包裝中含有損壞的鏈接,則死亡。僅限內(nèi)部使用。

--threads=<n>

指定解析變化量時(shí)產(chǎn)生的線程數(shù)。這要求使用 pthread 編譯索引包,否則該選項(xiàng)會(huì)被忽略并帶有警告。這是為了減少多處理器機(jī)器的打包時(shí)間。然而,增量搜索窗口所需的內(nèi)存量乘以線程數(shù)量。指定0將導(dǎo)致 Git 自動(dòng)檢測(cè) CPU 的數(shù)量并使用最多3個(gè)線程。

--max-input-size=<size>

死亡,如果包裝大于<尺寸>。

注意

索引創(chuàng)建完成后,將對(duì)對(duì)象名稱列表進(jìn)行排序,并將該列表的 SHA-1 哈希值打印到 stdout。如果還使用了--stdin,則以“pack \ t”或“keep \ t”作為前綴,前提是已成功創(chuàng)建新的.keep 文件。這對(duì)刪除用作鎖的.keep 文件非常有用,可防止上述git repack競(jìng)爭(zhēng)。

Previous article: Next article: