亚洲国产日韩欧美一区二区三区,精品亚洲国产成人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

Name

git-fetch-pack  - 從另一個(gè)存儲(chǔ)庫接收缺少的對(duì)象

概要

git fetch-pack [--all] [--quiet|-q] [--keep|-k] [--thin] [--include-tag]        [--upload-pack=<git-upload-pack>]        [--depth=<n>] [--no-progress]        [-v] <repository> [<refs>…]

描述

通常你會(huì)想使用git fetch這個(gè)命令的更高級(jí)別的包裝器來代替。

調(diào)用git-upload-pack可能是遠(yuǎn)程的存儲(chǔ)庫,并要求它發(fā)送從此存儲(chǔ)庫中丟失的對(duì)象,以更新指定的頭。本地可用的提交列表是通過掃描本地引用/層次結(jié)構(gòu)并發(fā)送到git-upload-pack另一端運(yùn)行找出的。

當(dāng)本地端沒有共同的祖先提交時(shí),該命令退化為下載所有內(nèi)容以完成遠(yuǎn)程端的詢問引用。

選項(xiàng)

--all

獲取所有遠(yuǎn)程參考。

--stdin

從 stdin 中獲取參考列表,每行一個(gè)。如果除了此選項(xiàng)外,還在命令行中指定了引用,則 stdin 中的引用將在命令行中的引用之后進(jìn)行處理。

如果--stateless-rpc與此選項(xiàng)一起指定,則參考列表必須采用數(shù)據(jù)包格式(pkt-line)。每個(gè) ref 必須位于一個(gè)單獨(dú)的數(shù)據(jù)包中,并且該列表必須以flush數(shù)據(jù)包結(jié)尾。

-q   --quiet

通過-q標(biāo)志git unpack-objects; 這使得克隆過程不那么冗長(zhǎng)。

-k   --keep

不要調(diào)用git unpack-objects接收到的數(shù)據(jù),而是從中創(chuàng)建一個(gè)包文件,并將其存儲(chǔ)在對(duì)象數(shù)據(jù)庫中。如果提供兩次,則包裝將被鎖定以防重新包裝。

--thin

獲取一個(gè)“瘦”包,它基于未包含在包中的對(duì)象以分辨形式記錄對(duì)象,以減少網(wǎng)絡(luò)流量。

--include-tag

如果遠(yuǎn)程端支持它,如果標(biāo)簽引用的對(duì)象被下載,帶標(biāo)注的標(biāo)簽對(duì)象將被下載到與其他對(duì)象相同的連接上。來電者必須另外確定此選項(xiàng)可用的標(biāo)簽。

--upload-pack=<git-upload-pack>

git-upload-pack如果在 $ PATH 中沒有找到,則使用它來指定遠(yuǎn)程端的路徑。 sshd 的安裝會(huì)忽略用戶登錄 shell 的環(huán)境設(shè)置腳本(例如 .bash_profile),而您的私有安裝的 git 可能在系統(tǒng)缺省 $ PATH 中找不到。另一個(gè)解決方法是在“.bashrc”中設(shè)置你的 $ PATH,但是這個(gè)標(biāo)志適用于那些不想為非交互式 shell 支付費(fèi)用的人,因?yàn)樗幸粋€(gè)精簡(jiǎn)的 .bashrc 文件(他們?cè)O(shè)置了大部分內(nèi)容在 .bash_profile中)。

--exec=<git-upload-pack>

Same as --upload-pack=<git-upload-pack>.

--depth=<n>

限制獲取祖先鏈不超過 n。即使git-upload-pack有一個(gè)悠長(zhǎng)的祖先鏈,也將特殊深度2147483647視為無限。

--shallow-since=<date>

加深或縮短淺 'repository' 的歷史記錄,以在<date>之后包含所有可訪問的提交。

--shallow-exclude=<revision>

加深或縮短淺儲(chǔ)存庫的歷史記錄以排除可從指定的遠(yuǎn)程分支或標(biāo)記訪問的提交。該選項(xiàng)可以多次指定。

--deepen-relative

參數(shù)--depth 指定來自當(dāng)前淺邊界的提交數(shù)量,而不是每個(gè)遠(yuǎn)程分支歷史記錄的提示數(shù)量。

--no-progress

不要顯示進(jìn)度。

--check-self-contained-and-connected

如果收到的包是自包含并連接的,則輸出“連接正常”。

-v

運(yùn)行詳細(xì)。

<repository>

遠(yuǎn)程存儲(chǔ)庫的 URL。

<refs>…

遠(yuǎn)程負(fù)責(zé)人從中更新。這與 $ GIT_DIR 相關(guān)(例如“HEAD”,“refs / heads / master”)。未指定時(shí),從遠(yuǎn)端所有人的頭部更新。

如果遙控器啟用了選項(xiàng)uploadpack.allowTipSHA1InWant,uploadpack.allowReachableSHA1InWant或者uploadpack.allowAnySHA1InWant,它們也可以是遙控器上的 40-hex sha1。

Previous article: Next article: