亚洲国产日韩欧美一区二区三区,精品亚洲国产成人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-upload-archive  - 將歸檔發(fā)送回 git-archive

概要

git upload-archive <directory>

描述

通過Git協(xié)議調(diào)用git archive --remote并將生成的存檔發(fā)送到另一端。

該命令通常不由最終用戶直接調(diào)用。該協(xié)議的用戶界面位于git archive側(cè)面,程序?qū)χ荚谟糜趶倪h(yuǎn)程存儲(chǔ)庫(kù)獲取存檔。

安全

為了保護(hù)已從歷史記錄中刪除但尚未修剪過的對(duì)象的隱私,請(qǐng)git-upload-archive避免提供無法從存儲(chǔ)庫(kù)引用中訪問的提交和樹的歸檔文件。但是,因?yàn)橛?jì)算對(duì)象可達(dá)性在計(jì)算上很昂貴,所以git-upload-archive實(shí)現(xiàn)了一組更嚴(yán)格但更易于檢查的規(guī)則:

  • 客戶可以請(qǐng)求一個(gè)提交或直接指向ref的樹。例如,git archive --remote=origin v1.0。

  • 客戶可以使用ref:path語法在提交或樹中請(qǐng)求子樹。例如,git archive --remote=origin v1.0:Documentation。

  • 即使最終結(jié)果可達(dá),客戶端也可以not使用其他 sha1 表達(dá)式。例如,即使結(jié)果可從 ref 中獲得,也不允許類似master^相對(duì)提交,也不允許使用類似abcd1234文字 sha1 。

請(qǐng)注意,規(guī)則3不允許許多不涉及隱私影響的情況。這些規(guī)則在未來版本的 git 中可能會(huì)發(fā)生變化,并且訪問的服務(wù)器git archive --remote可能會(huì)或可能不遵循這些準(zhǔn)確的規(guī)則。

如果 config 選項(xiàng)uploadArchive.allowUnreachable為 true,這些規(guī)則將被忽略,客戶端可以使用任意 sha1 表達(dá)式。如果您不關(guān)心無法訪問的對(duì)象的隱私,或者您的對(duì)象數(shù)據(jù)庫(kù)已公開可通過非智能 http 訪問,這非常有用。

選項(xiàng)

<directory>

從中獲取 tar 歸檔的存儲(chǔ)庫(kù)。

Previous article: Next article: