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

?? ??? ??
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
??

名稱

git-pack-refs  - 打包標頭和標簽以便高效的存儲庫訪問

概要

git pack-refs [--all] [--no-prune]

描述

傳統(tǒng)上,分支和標簽(統(tǒng)稱為refs)的提示每個參考文件存儲在目錄下的(子)$GIT_DIR/refs目錄中。盡管許多分支技巧往往會經常更新,但大多數(shù)標簽和一些分支技巧從未更新過。當一個存儲庫有數(shù)百或數(shù)千個標簽時,這種每文件一格式的格式既浪費存儲空間又損害性能。

該命令用于通過將 ref 存儲在單個文件中來解決存儲和性能問題,$GIT_DIR/packed-refs。如果傳統(tǒng)$GIT_DIR/refs目錄層次結構中缺少 ref ,則會在此文件中查找并在找到時使用。

對分支的后續(xù)更新總是在$GIT_DIR/refs目錄層次結構下創(chuàng)建新文件。

一個推薦的做法是處理一個資料庫太多的參考文獻,它只--all會將其參考文獻打包一次,偶爾也會運行git pack-refs。標簽根據(jù)定義是固定的,預計不會改變。分行負責人將收集最初的pack-refs --all,但只有當前活躍的分行負責人將被解包,而下一個pack-refs(不含--all)將使他們解包。

選項

--all

該命令默認打包已經打包的所有標簽和引用,并且僅保留其他引用。這是因為分支機構預計會積極開發(fā),打包他們的提示無助于性能。此選項也會導致分支提示被打包。用于具有許多歷史興趣分支的存儲庫。

--no-prune

這個命令通常會$GIT_DIR/refs在打包它們之后刪除松散參考。這個選項告訴它不要。

錯誤

在引入packed-refs機制之前編寫的舊文檔可能仍然表示“.git / refs / heads / <branch>文件存在”,意思是“分支<分支>存在”。

?? ??: ?? ??: