解開並上傳 bundle 檔案
  • 398 views,
  • 03-22,
  • 上傳者: Kuann Hung,
  •  0
在 GitLab 中的 repositories 目錄中有許多的 .bundle 檔案,有時候為了方便快速轉移,可以用下面的指令解開喔!~
; 先檢查一下
git bundle verify mybundle.bunlde
會出現像是這樣的訊息
The bundle contains these 8 refs:
fbb71123081e11fb914b913ecf4b83386045f74a refs/heads/develop
fbb71123081e11fb914b913ecf4b83386045f74a refs/heads/master
fbb71123081e11fb914b913ecf4b83386045f74a refs/heads/release
0dac10b89031b878e33994140335008ed5bb9a4f refs/keep-around/0dac10b89031b878e33994140335008ed5bb9a4f
49183c1dde88702d9238e81297e615c282c0868a refs/keep-around/49183c1dde88702d9238e81297e615c282c0868a
6a3f173eed77ef8c869390262a95b4a54bb4622e refs/keep-around/6a3f173eed77ef8c869390262a95b4a54bb4622e
c65fe689abfb386629bfc695987e76d027d85fc1 refs/keep-around/c65fe689abfb386629bfc695987e76d027d85fc1
fbb71123081e11fb914b913ecf4b83386045f74a HEAD
The bundle records a complete history.
mybundle.bundle is okay
然後再解開
; 解開
git clone mybundle.bunlde
輸出類似這樣,如果沒有錯誤就 ok 啦!
Cloning into 'mybundle'...
Receiving objects: 100% (30789/30789), 271.18 MiB | 4.48 MiB/s, done.
Resolving deltas: 100% (16391/16391), done.
Checking out files: 100% (7595/7595), done.
Facebook 討論區載入中...
資料夾 :
發表時間 :
2020-03-22 10:22:13
觀看數 :
398
發表人 :
Kuann Hung
部門 :
老洪的 IT 學習系統
QR Code :