?
Dieses Dokument verwendet PHP-Handbuch für chinesische Websites Freigeben
git-http-fetch - 通過 HTTP 從遠程 Git 存儲庫下載
git http-fetch [-c] [-t] [-a] [-d] [-v] [-w filename] [--recover] [--stdin] <commit> <url>
通過 HTTP 下載遠程 Git 存儲庫。
注:不建議使用不帶-a的此命令。-a行為將成為未來版本的默認行為。
commit-id
無論哈希還是 URL / refs / 下的文件名都可以拉出來。
-c
獲取提交對象。
-t
獲取與提交對象關聯的樹。
-a
獲取所有對象。
-v
報告下載的內容。
-w <filename>
在傳輸完成后,將 commit-id 寫入本地端的 $ GIT_DIR / refs / <filename>下的文件名。
--stdin
不要在命令行上提交一個提交 ID(在這種情況下git http-fetch
預計不會出現這種情況),需要格式化 stdin 中的行
<commit-id>['\t'<filename-as-in--w>]
--recover
驗證從目標訪問的所有內容都已獲取。先前提取被中斷后使用。