Git with bundle import

13 篇文章 0 订阅

Refer to

https://git-scm.com/docs/git-bundle

 

 

Example   Firefly RK3399Pro git with bundle update

  

[lhu3@zch127bld08 AIO-3399Pro]$ git  log
commit d6d1fd2457640156ca00cbdb3da0f2ea7b603e6c (HEAD -> master)
Author: Firefly <service@t-firefly.com>
Date:   Thu Aug 15 16:15:13 2019 +0800

    Init Firefly RK3399Pro Android9 SDK

 

###  Load from local bundle 


[lhu3@zch127bld08 AIO-3399Pro]$    7z x ../rk3399pro-pie-bundle.7z  -r -o. && mv rk3399pro-pie-bundle/ .bundle/

7-Zip [64] 9.20  Copyright (c) 1999-2010 Igor Pavlov  2010-11-18
p7zip Version 9.20 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,24 CPUs)

Processing archive: ../rk3399pro-pie-bundle.7z

Extracting  rk3399pro-pie-bundle/.git/objects/9b/0ec4edec0fc9add3057d028568cf26c0fbc565
Extracting  rk3399pro-pie-bundle/.git/objects/62/166be46490e572f8fe7c69fef58ee3ddaccbbb
Extracting  rk3399pro-pie-bundle/.git/objects/87/174f74c62a37604c7c1a53161603292511abd9
Extracting  rk3399pro-pie-bundle/.git/objects/32/24a2b7928a92b2a29dbf5edd0a04e13dd25a7c

Extracting  rk3399pro-pie-bundle/.git/objects/e3/2e162a1e9fd568201342769b6fa750c1e3c062
Extracting  rk3399pro-pie-bundle/.git/objects/25/31ea9b1501776d735663d0a4a8f09be8404ff4
Extracting  rk3399pro-pie-bundle/.git/objects/4a/35f98fc5d43478ffa1435e6cf7c9da17b6a6fd
Extracting  rk3399pro-pie-bundle/.git/objects/79/40c24833698c5864df7995b0f9558165e9f32c
Extracting  rk3399pro-pie-bundle/.git/objects/15/4475c36589f17e4855ab733255a951323b3951
Extracting  rk3399pro-pie-bundle/.git/objects/8e/4882fd446b38b06b1b5efc24ec1945412a3aa3
Extracting  rk3399pro-pie-bundle/.git/objects/99/6702c260b96a524923c66c76a4997f3c60849a
Extracting  rk3399pro-pie-bundle/.git/objects/01/69c63add5831342d3097938c1af221d59dad02
Extracting  rk3399pro-pie-bundle/.git/objects/07/6a4182b0ef746197cace9592e44b87933cdaa5
Extracting  rk3399pro-pie-bundle/.git/objects/40/6b3fd3bec1ffbbc77e746c88583186ff0378d7
Extracting  rk3399pro-pie-bundle/.git/objects/97/6fbc44cab296328a021db3297b8c9345b502cd
Extracting  rk3399pro-pie-bundle/.git/objects/0d/7f562a9afc45a10c37f21d47d173ac49502f3b
Extracting  rk3399pro-pie-bundle/.git/objects/4c/81b16d017ac508bb47c457dde40dc1e8d98c9f
Extracting  rk3399pro-pie-bundle/.git/objects/4b/825dc642cb6eb9a060e54bf8d69288fbee4904
Extracting  rk3399pro-pie-bundle/.git/objects/b7/84a518591e2b1a8e6737ef4cf24164b5a32a93
Extracting  rk3399pro-pie-bundle/.git/objects/ea/8af067369bb6ca7d2ad8b15650b62936729171
Extracting  rk3399pro-pie-bundle/.git/objects/59/8bcc58ae65764ca6876d71dd26e233fa29e498
Extracting  rk3399pro-pie-bundle/.git/objects/ba/8d265c8df2e409adb937001c50680f285dc8b2
Extracting  rk3399pro-pie-bundle/.git/objects/82/8df180c65818d586a9b33def4f250eb946f035
Extracting  rk3399pro-pie-bundle/.git/objects/e8/95737c71c6cbd80ded73dc622f30a9ff3e8cd7
Extracting  rk3399pro-pie-bundle/.git/objects/d7/9aad2ab9638dee1162ff618c0706e26aba247d
Extracting  rk3399pro-pie-bundle/.git/objects/5f/9c5f6d9f18f8c9f801e627341648fac316b062
Extracting  rk3399pro-pie-bundle/.git/objects/cc/ae7e49d01f691d9a51a4fd4986aba697644fac
Extracting  rk3399pro-pie-bundle/.git/objects/9f/b290158ecdc3bf3650053ce77c7974c1d96429
Extracting  rk3399pro-pie-bundle/.git/objects/50/c1f66b7e6b248ab0a3444124f4f56e63a39219
Extracting  rk3399pro-pie-bundle/.git/objects/cf/ccc788bf3b5768e27eb88402540e6114eab3f3
Extracting  rk3399pro-pie-bundle/.git/objects/79/ceb282baa654854582af5c644e56156e154826
Extracting  rk3399pro-pie-bundle/.git/COMMIT_EDITMSG
Extracting  rk3399pro-pie-bundle/.git/config
Extracting  rk3399pro-pie-bundle/.git/description
Extracting  rk3399pro-pie-bundle/.git/info/exclude
Extracting  rk3399pro-pie-bundle/.git/objects/48/faf8bc9752d3f11261de2fe7424205dce28986
Extracting  rk3399pro-pie-bundle/.git/FETCH_HEAD
Extracting  rk3399pro-pie-bundle/.git/HEAD
Extracting  rk3399pro-pie-bundle/.git/logs/HEAD
Extracting  rk3399pro-pie-bundle/.git/index
Extracting  rk3399pro-pie-bundle/.git/refs/heads/master
Extracting  rk3399pro-pie-bundle/.git/logs/refs/heads/master
Extracting  rk3399pro-pie-bundle/.git/ORIG_HEAD
Extracting  rk3399pro-pie-bundle/update
Extracting  rk3399pro-pie-bundle/README.md
Extracting  rk3399pro-pie-bundle/README_zh.md
Extracting  rk3399pro-pie-bundle/0.bundle
Extracting  rk3399pro-pie-bundle/1.bundle
Extracting  rk3399pro-pie-bundle/2.bundle
Extracting  rk3399pro-pie-bundle/3.bundle
Extracting  rk3399pro-pie-bundle/.git/objects/pack/pack-eaa7295509cd88461c316342493793764158fe93.idx
Extracting  rk3399pro-pie-bundle/.git/objects/pack/pack-eaa7295509cd88461c316342493793764158fe93.pack
Extracting  rk3399pro-pie-bundle/.git/hooks/applypatch-msg.sample
Extracting  rk3399pro-pie-bundle/.git/hooks/commit-msg.sample
Extracting  rk3399pro-pie-bundle/.git/hooks/post-update.sample
Extracting  rk3399pro-pie-bundle/.git/hooks/pre-applypatch.sample
Extracting  rk3399pro-pie-bundle/.git/hooks/pre-commit.sample
Extracting  rk3399pro-pie-bundle/.git/hooks/pre-push.sample
Extracting  rk3399pro-pie-bundle/.git/hooks/pre-rebase.sample
Extracting  rk3399pro-pie-bundle/.git/hooks/prepare-commit-msg.sample
Extracting  rk3399pro-pie-bundle/.git/hooks/update.sample
Extracting  rk3399pro-pie-bundle/.git/refs/tags
Extracting  rk3399pro-pie-bundle/.git/refs/remotes/origin
Extracting  rk3399pro-pie-bundle/.git/refs/remotes/gitlab
Extracting  rk3399pro-pie-bundle/.git/refs/remotes/253
Extracting  rk3399pro-pie-bundle/.git/refs/remotes
Extracting  rk3399pro-pie-bundle/.git/refs/heads
Extracting  rk3399pro-pie-bundle/.git/refs
Extracting  rk3399pro-pie-bundle/.git/objects/pack
Extracting  rk3399pro-pie-bundle/.git/objects/info
Extracting  rk3399pro-pie-bundle/.git/objects/ea
Extracting  rk3399pro-pie-bundle/.git/objects/e8
Extracting  rk3399pro-pie-bundle/.git/objects/e3
Extracting  rk3399pro-pie-bundle/.git/objects/d7
Extracting  rk3399pro-pie-bundle/.git/objects/cf
Extracting  rk3399pro-pie-bundle/.git/objects/cc
Extracting  rk3399pro-pie-bundle/.git/objects/ba
Extracting  rk3399pro-pie-bundle/.git/objects/b7
Extracting  rk3399pro-pie-bundle/.git/objects/9f
Extracting  rk3399pro-pie-bundle/.git/objects/9b
Extracting  rk3399pro-pie-bundle/.git/objects/99
Extracting  rk3399pro-pie-bundle/.git/objects/97
Extracting  rk3399pro-pie-bundle/.git/objects/8e
Extracting  rk3399pro-pie-bundle/.git/objects/87
Extracting  rk3399pro-pie-bundle/.git/objects/82
Extracting  rk3399pro-pie-bundle/.git/objects/79
Extracting  rk3399pro-pie-bundle/.git/objects/62
Extracting  rk3399pro-pie-bundle/.git/objects/5f
Extracting  rk3399pro-pie-bundle/.git/objects/59
Extracting  rk3399pro-pie-bundle/.git/objects/50
Extracting  rk3399pro-pie-bundle/.git/objects/4c
Extracting  rk3399pro-pie-bundle/.git/objects/4b
Extracting  rk3399pro-pie-bundle/.git/objects/4a
Extracting  rk3399pro-pie-bundle/.git/objects/48
Extracting  rk3399pro-pie-bundle/.git/objects/40
Extracting  rk3399pro-pie-bundle/.git/objects/32
Extracting  rk3399pro-pie-bundle/.git/objects/25
Extracting  rk3399pro-pie-bundle/.git/objects/15
Extracting  rk3399pro-pie-bundle/.git/objects/0d
Extracting  rk3399pro-pie-bundle/.git/objects/07
Extracting  rk3399pro-pie-bundle/.git/objects/01
Extracting  rk3399pro-pie-bundle/.git/objects
Extracting  rk3399pro-pie-bundle/.git/logs/refs/remotes/origin
Extracting  rk3399pro-pie-bundle/.git/logs/refs/remotes/gitlab
Extracting  rk3399pro-pie-bundle/.git/logs/refs/remotes/253
Extracting  rk3399pro-pie-bundle/.git/logs/refs/remotes
Extracting  rk3399pro-pie-bundle/.git/logs/refs/heads
Extracting  rk3399pro-pie-bundle/.git/logs/refs
Extracting  rk3399pro-pie-bundle/.git/logs
Extracting  rk3399pro-pie-bundle/.git/info
Extracting  rk3399pro-pie-bundle/.git/hooks
Extracting  rk3399pro-pie-bundle/.git/branches
Extracting  rk3399pro-pie-bundle/.git
Extracting  rk3399pro-pie-bundle

Everything is Ok

Folders: 53
Files: 61
Size:       1973868912
Compressed: 1990578253
[lhu3@zch127bld08 AIO-3399Pro]$


[lhu3@zch127bld08 AIO-3399Pro]$ ls -lat|grep bun
drwxr-xr-x   3 lhu3 Porcelain  4096 Sep 30 17:32 .bundle
[lhu3@zch127bld08 AIO-3399Pro]$ ./^C
[lhu3@zch127bld08 AIO-3399Pro]$ git log
commit d6d1fd2457640156ca00cbdb3da0f2ea7b603e6c (HEAD -> master)
Author: Firefly <service@t-firefly.com>
Date:   Thu Aug 15 16:15:13 2019 +0800

    Init Firefly RK3399Pro Android9 SDK


[lhu3@zch127bld08 AIO-3399Pro]$ .bundle/update
[Info]Update Bundle repo...
fatal: 'origin' does not appear to be a git repository
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
-------------------------------------------
[Info]Update to FETCH_HEAD:
Receiving objects: 100% (29/29), 467.38 KiB | 13.35 MiB/s, done.
Resolving deltas: 100% (23/23), completed with 22 local objects.
From .bundle/0.bundle
 * branch                  HEAD       -> FETCH_HEAD
[Info]Fetch .bundle/0.bundle successfully!!
Receiving objects: 100% (229/229), 68.33 MiB | 42.48 MiB/s, done.
Resolving deltas: 100% (142/142), completed with 119 local objects.
From .bundle/1.bundle
 * branch                  HEAD       -> FETCH_HEAD
[Info]Fetch .bundle/1.bundle successfully!!
Receiving objects: 100% (577/577), 535.70 MiB | 102.53 MiB/s, done.
Resolving deltas: 100% (289/289), completed with 199 local objects.


From .bundle/2.bundle
 * branch                  HEAD       -> FETCH_HEAD
[Info]Fetch .bundle/2.bundle successfully!!
Receiving objects: 100% (74/74), 759.46 KiB | 18.52 MiB/s, done.
Resolving deltas: 100% (49/49), completed with 49 local objects.
From .bundle/3.bundle
 * branch                  HEAD       -> FETCH_HEAD
[Info]Fetch .bundle/3.bundle successfully!!
[lhu3@zch127bld08 AIO-3399Pro]$
[lhu3@zch127bld08 AIO-3399Pro]$
[lhu3@zch127bld08 AIO-3399Pro]$ git  log
commit d6d1fd2457640156ca00cbdb3da0f2ea7b603e6c (HEAD -> master)
Author: Firefly <service@t-firefly.com>
Date:   Thu Aug 15 16:15:13 2019 +0800

    Init Firefly RK3399Pro Android9 SDK
[lhu3@zch127bld08 AIO-3399Pro]$
[lhu3@zch127bld08 AIO-3399Pro]$
[lhu3@zch127bld08 AIO-3399Pro]$
[lhu3@zch127bld08 AIO-3399Pro]$ git rebase FETCH_HEAD
First, rewinding head to replay your work on top of it...
Fast-forwarded master to FETCH_HEAD.
[lhu3@zch127bld08 AIO-3399Pro]$ git  log
commit 672ab47ec6cd482196f7ee0218dcec862c083095 (HEAD -> master)
Author: Firefly <service@t-firefly.com>
Date:   Wed Sep 30 17:26:43 2020 +0800

    1.fix up DualScreen touch issue. 2.ignore usb permission dialog. 3.support BeiDou GPS

commit 3dbe77f00f1b5c34caeabaabdd0819a1d83587a9
Author: Firefly <service@t-firefly.com>
Date:   Mon Aug 3 17:54:57 2020 +0800

    1.fix up power on & power off function, support third app interface. 2.fix uart transfer issue. 3.move network adb into Developer Option. 4.Fix AIO-3399Pro-JD4 Fan gpio status. 5.add ROOT support. 6.add external usb camera permission

commit 6802ae33f30a38ffe2ca44df0298d414d821b1e1
Author: lkd <service@t-firefly.com>
Date:   Mon Mar 9 17:28:48 2020 +0800

    1.Support AIO-3399ProJD4. 2.Add xc7022 xc6130 camera support 3.Fix LVDS firmware audio issue 4.Fix some systemic problems

commit 7009b71fde3ca8b9a6cbd0281bf8c61cd9ad8697
Author: lkd <service@t-firefly.com>
Date:   Wed Dec 18 11:16:10 2019 +0800

    1. add LVDS product. 2.update wifi config

commit d6d1fd2457640156ca00cbdb3da0f2ea7b603e6c
Author: Firefly <service@t-firefly.com>
[lhu3@zch127bld08 AIO-3399Pro]$ ls -l  .bundle/
total 619772
-rw-r--r-- 1 lhu3 Porcelain    478741 Dec 18  2019 0.bundle
-rw-r--r-- 1 lhu3 Porcelain  71649974 Mar 12  2020 1.bundle
-rw-r--r-- 1 lhu3 Porcelain 561720632 Aug  6 17:13 2.bundle
-rw-r--r-- 1 lhu3 Porcelain    778027 Sep 30 17:32 3.bundle
-rw-r--r-- 1 lhu3 Porcelain       267 Sep 30 17:32 README.md
-rw-r--r-- 1 lhu3 Porcelain       324 Sep 30 17:32 README_zh.md
-rwxr-xr-x 1 lhu3 Porcelain      1205 Sep 30 17:32 update

 

 

####  Update from remote bundle 


[lhu3@zch127bld08 AIO-3399Pro]$ wget   https://gitlab.com/TeeFirefly/rk3399pro-pie-bundle/-/raw/master/4.bundle   -O  .bundle/
.bundle/: Is a directory
[lhu3@zch127bld08 AIO-3399Pro]$ wget   https://gitlab.com/TeeFirefly/rk3399pro-pie-bundle/-/raw/master/4.bundle   -O  .bundle/4.bundle
--2021-01-10 17:01:25--  https://gitlab.com/TeeFirefly/rk3399pro-pie-bundle/-/raw/master/4.bundle
Resolving gitlab.com (gitlab.com)... 172.65.251.78, 2606:4700:90:0:f22e:fbec:5bed:a9b9
Connecting to gitlab.com (gitlab.com)|172.65.251.78|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 115301 (113K) [application/octet-stream]
Saving to: ‘.bundle/4.bundle’

100%[=================================================================>] 115,301     --.-K/s   in 0.08s

2021-01-10 17:01:40 (1.40 MB/s) - ‘.bundle/4.bundle’ saved [115301/115301]

[lhu3@zch127bld08 AIO-3399Pro]$ wget   https://gitlab.com/TeeFirefly/rk3399pro-pie-bundle/-/raw/master/5.bundle   -O  .bundle/5.bundle
--2021-01-10 17:01:55--  https://gitlab.com/TeeFirefly/rk3399pro-pie-bundle/-/raw/master/5.bundle
Resolving gitlab.com (gitlab.com)... 172.65.251.78, 2606:4700:90:0:f22e:fbec:5bed:a9b9
Connecting to gitlab.com (gitlab.com)|172.65.251.78|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 597614087 (570M) [application/octet-stream]
Saving to: ‘.bundle/5.bundle’

100%[=================================================================>] 597,614,087 10.3MB/s   in 52s

2021-01-10 17:02:48 (10.9 MB/s) - ‘.bundle/5.bundle’ saved [597614087/597614087]

[lhu3@zch127bld08 AIO-3399Pro]$ .bundle/update
[Info]Update Bundle repo...
fatal: 'origin' does not appear to be a git repository
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
-------------------------------------------
[Info]Update to FETCH_HEAD:
Receiving objects: 100% (27/27), 112.41 KiB | 14.05 MiB/s, done.
Resolving deltas: 100% (18/18), completed with 18 local objects.
From .bundle/4.bundle
 * branch                  HEAD       -> FETCH_HEAD
[Info]Fetch .bundle/4.bundle successfully!!
Receiving objects: 100% (369/369), 569.93 MiB | 100.87 MiB/s, done.
Resolving deltas: 100% (200/200), completed with 151 local objects.
From .bundle/5.bundle
 * branch                  HEAD       -> FETCH_HEAD
[Info]Fetch .bundle/5.bundle successfully!!
[lhu3@zch127bld08 AIO-3399Pro]$ git  log
commit 672ab47ec6cd482196f7ee0218dcec862c083095 (HEAD -> master)
Author: Firefly <service@t-firefly.com>
Date:   Wed Sep 30 17:26:43 2020 +0800

    1.fix up DualScreen touch issue. 2.ignore usb permission dialog. 3.support BeiDou GPS

commit 3dbe77f00f1b5c34caeabaabdd0819a1d83587a9
Author: Firefly <service@t-firefly.com>
Date:   Mon Aug 3 17:54:57 2020 +0800

    1.fix up power on & power off function, support third app interface. 2.fix uart transfer issue. 3.move network adb into Developer Option. 4.Fix AIO-3399Pro-JD4 Fan gpio status. 5.add ROOT support. 6.add external usb camera permission

commit 6802ae33f30a38ffe2ca44df0298d414d821b1e1
Author: lkd <service@t-firefly.com>
Date:   Mon Mar 9 17:28:48 2020 +0800

    1.Support AIO-3399ProJD4. 2.Add xc7022 xc6130 camera support 3.Fix LVDS firmware audio issue 4.Fix some systemic problems

commit 7009b71fde3ca8b9a6cbd0281bf8c61cd9ad8697
Author: lkd <service@t-firefly.com>
Date:   Wed Dec 18 11:16:10 2019 +0800

    1. add LVDS product. 2.update wifi config

commit d6d1fd2457640156ca00cbdb3da0f2ea7b603e6c
Author: Firefly <service@t-firefly.com>
[lhu3@zch127bld08 AIO-3399Pro]$ git rebase FETCH_HEAD
First, rewinding head to replay your work on top of it...

Fast-forwarded master to FETCH_HEAD.
[lhu3@zch127bld08 AIO-3399Pro]$
[lhu3@zch127bld08 AIO-3399Pro]$
[lhu3@zch127bld08 AIO-3399Pro]$
[lhu3@zch127bld08 AIO-3399Pro]$ git  log
commit f11ce5e214b42a1078272edb27a8a81832c04f12 (HEAD -> master)
Author: lkd <lkd@t-chip.com.cn>
Date:   Fri Nov 13 12:32:53 2020 +0800

    1.fix up 4K HDR issue 2.fix OTA update issue 3.fix static ip setting issue 4.Update NPU driver firmware v1.5

commit 809d8d77b59996770a05f81abff9ff2553773ff7
Author: Firefly <service@t-firefly.com>
Date:   Tue Oct 20 15:41:26 2020 +0800

    1.add alc5640 support

commit 672ab47ec6cd482196f7ee0218dcec862c083095
Author: Firefly <service@t-firefly.com>
Date:   Wed Sep 30 17:26:43 2020 +0800

    1.fix up DualScreen touch issue. 2.ignore usb permission dialog. 3.support BeiDou GPS

commit 3dbe77f00f1b5c34caeabaabdd0819a1d83587a9
Author: Firefly <service@t-firefly.com>
Date:   Mon Aug 3 17:54:57 2020 +0800

    1.fix up power on & power off function, support third app interface. 2.fix uart transfer issue. 3.move network adb into Developer Option. 4.Fix AIO-3399Pro-JD4 Fan gpio status. 5.add ROOT support. 6.add external usb camera permission

commit 6802ae33f30a38ffe2ca44df0298d414d821b1e1
Author: lkd <service@t-firefly.com>
[lhu3@zch127bld08 AIO-3399Pro]$ pwd
/data/sdb/lhu3/source/firefly-rk3399-android9/AIO-3399Pro
[lhu3@zch127bld08 AIO-3399Pro]$ git reset HEAD  --hard
HEAD is now at f11ce5e214 1.fix up 4K HDR issue 2.fix OTA update issue 3.fix static ip setting issue 4.Update NPU driver firmware v1.5
[lhu3@zch127bld08 AIO-3399Pro]$
 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值