gitlab不同账号间·仓库转移

news2024/11/26 11:15:59

背景:公司业务调整,原先在海外仓库的代码转移回国内

诉求:完整的保留项目记录

操作:
步骤一: 定位到需要迁移的原项目地址
定位到原项目地址

步骤二:创建新项目
创建新项目

步骤三:打开命令行,创建好文件路径为需要clone的项目名称

➜  dramaly-index md session_lib
➜  dramaly-index cd session_lib
➜  session_lib ls
➜  session_lib git clone --mirror 需要转的仓库地址
Cloning into bare repository 'session_lib.git'...
remote: Enumerating objects: 121, done.
remote: Counting objects: 100% (121/121), done.
remote: Compressing objects: 100% (72/72), done.
remote: Total 270 (delta 64), reused 99 (delta 49)
Receiving objects: 100% (270/270), 85.35 KiB | 455.00 KiB/s, done.
Resolving deltas: 100% (133/133), done.
➜  session_lib ls
session_lib.git
➜  session_lib cd session_lib.git
➜  session_lib.git git:(master) ls
HEAD        config      description hooks       info        objects     packed-refs refs
➜  session_lib.git git:(master) git remote add destination 新创建的仓库地址
➜  session_lib.git git:(master) git push destination --mirror

推送后可能会有下边这种情况发生

➜  session_lib.git git:(master) git push destination --mirror
Enumerating objects: 270, done.
Counting objects: 100% (270/270), done.
Delta compression using up to 8 threads
Compressing objects: 100% (121/121), done.
Writing objects: 100% (270/270), 85.34 KiB | 85.34 MiB/s, done.
Total 270 (delta 133), reused 270 (delta 133), pack-reused 0
remote: Resolving deltas: 100% (133/133), done.
To https://git.didi-inc.com:8021/dramaly-service/session_lib.git
 * [new branch]      add_interface -> add_interface
 * [new branch]      develop -> develop
 * [new branch]      feature_white_module_list -> feature_white_module_list
 * [new branch]      master -> master
 * [new reference]   refs/merge-requests/1/head -> refs/merge-requests/1/head
 * [new reference]   refs/merge-requests/10/head -> refs/merge-requests/10/head
 * [new reference]   refs/merge-requests/11/head -> refs/merge-requests/11/head
 * [new reference]   refs/merge-requests/12/head -> refs/merge-requests/12/head
 * [new reference]   refs/merge-requests/13/head -> refs/merge-requests/13/head
 * [new reference]   refs/merge-requests/14/head -> refs/merge-requests/14/head
 * [new reference]   refs/merge-requests/15/head -> refs/merge-requests/15/head
 * [new reference]   refs/merge-requests/16/head -> refs/merge-requests/16/head
 * [new reference]   refs/merge-requests/17/head -> refs/merge-requests/17/head
 * [new reference]   refs/merge-requests/18/head -> refs/merge-requests/18/head
 * [new reference]   refs/merge-requests/19/head -> refs/merge-requests/19/head
 * [new reference]   refs/merge-requests/2/head -> refs/merge-requests/2/head
 * [new reference]   refs/merge-requests/20/head -> refs/merge-requests/20/head
 * [new reference]   refs/merge-requests/21/head -> refs/merge-requests/21/head
 * [new reference]   refs/merge-requests/22/head -> refs/merge-requests/22/head
 * [new reference]   refs/merge-requests/23/head -> refs/merge-requests/23/head
 * [new reference]   refs/merge-requests/24/head -> refs/merge-requests/24/head
 * [new reference]   refs/merge-requests/25/head -> refs/merge-requests/25/head
 * [new reference]   refs/merge-requests/26/head -> refs/merge-requests/26/head
 * [new reference]   refs/merge-requests/27/head -> refs/merge-requests/27/head
 * [new reference]   refs/merge-requests/28/head -> refs/merge-requests/28/head
 * [new reference]   refs/merge-requests/29/head -> refs/merge-requests/29/head
 * [new reference]   refs/merge-requests/3/head -> refs/merge-requests/3/head
 * [new reference]   refs/merge-requests/30/head -> refs/merge-requests/30/head
 * [new reference]   refs/merge-requests/31/head -> refs/merge-requests/31/head
 * [new reference]   refs/merge-requests/32/head -> refs/merge-requests/32/head
 * [new reference]   refs/merge-requests/33/head -> refs/merge-requests/33/head
 * [new reference]   refs/merge-requests/34/head -> refs/merge-requests/34/head
 * [new reference]   refs/merge-requests/35/head -> refs/merge-requests/35/head
 * [new reference]   refs/merge-requests/4/head -> refs/merge-requests/4/head
 * [new reference]   refs/merge-requests/5/head -> refs/merge-requests/5/head
 * [new reference]   refs/merge-requests/6/head -> refs/merge-requests/6/head
 * [new reference]   refs/merge-requests/7/head -> refs/merge-requests/7/head
 * [new reference]   refs/merge-requests/8/head -> refs/merge-requests/8/head
 * [new reference]   refs/merge-requests/9/head -> refs/merge-requests/9/head
 * [new tag]         v1.0.0 -> v1.0.0
 * [new tag]         v1.0.1 -> v1.0.1
 * [new tag]         v1.0.2 -> v1.0.2
 * [new tag]         v1.0.3 -> v1.0.3
 * [new tag]         v1.0.4 -> v1.0.4
 ! [remote rejected] refs/keep-around/041f49a3840ef60c69b5802afa39df8204237b5b -> refs/keep-around/041f49a3840ef60c69b5802afa39df8204237b5b (deny updating a hidden ref)
 ! [remote rejected] refs/keep-around/056a060d38c36e13eff8e9d663fcc091d77812e3 -> refs/keep-around/056a060d38c36e13eff8e9d663fcc091d77812e3 (deny updating a hidden ref)
 ! [remote rejected] refs/keep-around/0a1c0ba7778ba10fe3a29ba4d3f047df34e59863 -> refs/keep-around/0a1c0ba7778ba10fe3a29ba4d3f047df34e59863 (deny updating a hidden ref)
 ! [remote rejected] refs/keep-around/0b22d70c5aa66e1043545fec7e2a644b2f414ec2 -> refs/keep-around/0b22d70c5aa66e1043545fec7e2a644b2f414ec2 (deny updating a hidden ref)
 ! [remote rejected] refs/keep-around/0f398c895d0ed06c8fb6378a4b972fb7af8c3c18 -> refs/keep-around/0f398c895d0ed06c8fb6378a4b972fb7af8c3c18 (deny updating a hidden ref)
 ! [remote rejected] refs/keep-around/13e51c044eefd20d41a24c7c770611b5b6fd96e3 -> refs/keep-around/13e51c044eefd20d41a24c7c770611b5b6fd96e3 (deny updating a hidden ref)
 ! [remote rejected] refs/keep-around/193de930433660e09cbdc549e522687e04556961 -> refs/keep-around/193de930433660e09cbdc549e522687e04556961 (deny updating a hidden ref)
 ! [remote rejected] refs/keep-around/1a8ea198f3a5e9d087a8edb91c1f210de9904a05 -> refs/keep-around/1a8ea198f3a5e9d087a8edb91c1f210de9904a05 (deny updating a hidden ref)
 ! [remote rejected] refs/keep-around/1eb3aa2e7e5bd5143ca5b1acb915006cb6261098 -> refs/keep-around/1eb3aa2e7e5bd5143ca5b1acb915006cb6261098 (deny updating a hidden ref)
 ! [remote rejected] refs/keep-around/20611f497498e2573243408ec6d68035495eecc6 -> refs/keep-around/20611f497498e2573243408ec6d68035495eecc6 (deny updating a hidden ref)
 ! [remote rejected] refs/keep-around/23b9eb31148361b071b695d911bb828d6788d94a -> refs/keep-around/23b9eb31148361b071b695d911bb828d6788d94a (deny updating a hidden ref)
 ! [remote rejected] refs/keep-around/28112e08d221cec46069469c80308e4b5445b8ec -> refs/keep-around/28112e08d221cec46069469c80308e4b5445b8ec (deny updating a hidden ref)
 ! [remote rejected] refs/keep-around/2a68173e7bb83792e4018b5b134d7e8263145efb -> refs/keep-around/2a68173e7bb83792e4018b5b134d7e8263145efb (deny updating a hidden ref)
 ! [remote rejected] refs/keep-around/3104dec79f427d51ab83f65159cef9827dfeb20d -> refs/keep-around/3104dec79f427d51ab83f65159cef9827dfeb20d (deny updating a hidden ref)
 ! [remote rejected] refs/keep-around/32b57c60d9a9b779a54276a2b4f0e84c9fba3319 -> refs/keep-around/32b57c60d9a9b779a54276a2b4f0e84c9fba3319 (deny updating a hidden ref)
 ! [remote rejected] refs/keep-around/367eda90d77207ca55bc6d4dae9cb97aae1be552 -> refs/keep-around/367eda90d77207ca55bc6d4dae9cb97aae1be552 (deny updating a hidden ref)
 ! [remote rejected] refs/keep-around/39ea1303a222f507a6b7954091e1a56ffd3544b2 -> refs/keep-around/39ea1303a222f507a6b7954091e1a56ffd3544b2 (deny updating a hidden ref)
 ! [remote rejected] refs/keep-around/3a075f279e85d0c3951a906fb8df261b4bbda584 -> refs/keep-around/3a075f279e85d0c3951a906fb8df261b4bbda584 (deny updating a hidden ref)
 ! [remote rejected] refs/keep-around/3b3273b590c416327f7dc82fa0cbcdc073e578d4 -> refs/keep-around/3b3273b590c416327f7dc82fa0cbcdc073e578d4 (deny updating a hidden ref)
 ! [remote rejected] refs/keep-around/425d9053d90976ee6d4a0023831638ec4ab40287 -> refs/keep-around/425d9053d90976ee6d4a0023831638ec4ab40287 (deny updating a hidden ref)
 ! [remote rejected] refs/keep-around/4d6374daf49d48be8a87bbf7ea27a82bec93eaee -> refs/keep-around/4d6374daf49d48be8a87bbf7ea27a82bec93eaee (deny updating a hidden ref)
 ! [remote rejected] refs/keep-around/4f0f1e9a9911659f1e798a5399cb91cf99d22ba5 -> refs/keep-around/4f0f1e9a9911659f1e798a5399cb91cf99d22ba5 (deny updating a hidden ref)
 ! [remote rejected] refs/keep-around/508b0d93dfd2e463b1bb80db7d9bc911484622ec -> refs/keep-around/508b0d93dfd2e463b1bb80db7d9bc911484622ec (deny updating a hidden ref)
 ! [remote rejected] refs/keep-around/536b720b70eb5c6f37ef5f37f038e5477eb3a9ce -> refs/keep-around/536b720b70eb5c6f37ef5f37f038e5477eb3a9ce (deny updating a hidden ref)
 ! [remote rejected] refs/keep-around/567ae1046dc458808606161d1b0f4a97ff2dd13a -> refs/keep-around/567ae1046dc458808606161d1b0f4a97ff2dd13a (deny updating a hidden ref)
 ! [remote rejected] refs/keep-around/56d4f927bda0eeb19db63b6479e1aec5f9b306bd -> refs/keep-around/56d4f927bda0eeb19db63b6479e1aec5f9b306bd (deny updating a hidden ref)
 ! [remote rejected] refs/keep-around/582e7befcfb31bb448567878ff91cf338d852249 -> refs/keep-around/582e7befcfb31bb448567878ff91cf338d852249 (deny updating a hidden ref)
 ! [remote rejected] refs/keep-around/5bcaeda067235dc77beee1a730bb58274ec4f2ca -> refs/keep-around/5bcaeda067235dc77beee1a730bb58274ec4f2ca (deny updating a hidden ref)
 ! [remote rejected] refs/keep-around/5eea3450627f59cb79bb022e943a047fa0286ca2 -> refs/keep-around/5eea3450627f59cb79bb022e943a047fa0286ca2 (deny updating a hidden ref)
 ! [remote rejected] refs/keep-around/662c99affa5f659a9b890b9f7e7a34ee67360698 -> refs/keep-around/662c99affa5f659a9b890b9f7e7a34ee67360698 (deny updating a hidden ref)
 ! [remote rejected] refs/keep-around/6722bdc727a9ade979036f227fcedb4ace2e6809 -> refs/keep-around/6722bdc727a9ade979036f227fcedb4ace2e6809 (deny updating a hidden ref)
 ! [remote rejected] refs/keep-around/6aaea72859e9c06fa1b977c7c813298ae249b507 -> refs/keep-around/6aaea72859e9c06fa1b977c7c813298ae249b507 (deny updating a hidden ref)
 ! [remote rejected] refs/keep-around/74236a35fbd7a3a0938b868b029d0e0350cf20e0 -> refs/keep-around/74236a35fbd7a3a0938b868b029d0e0350cf20e0 (deny updating a hidden ref)
 ! [remote rejected] refs/keep-around/78e41414794553587a693ce41732b60ec7bd101a -> refs/keep-around/78e41414794553587a693ce41732b60ec7bd101a (deny updating a hidden ref)
 ! [remote rejected] refs/keep-around/811493b6fdae2331b0a94c7a3fe65a3000f0e92b -> refs/keep-around/811493b6fdae2331b0a94c7a3fe65a3000f0e92b (deny updating a hidden ref)
 ! [remote rejected] refs/keep-around/8c3d3377714fdea5468e7648c25c625da517e501 -> refs/keep-around/8c3d3377714fdea5468e7648c25c625da517e501 (deny updating a hidden ref)
 ! [remote rejected] refs/keep-around/8d3c1963907df786b2e9556719cdf801e25d30dd -> refs/keep-around/8d3c1963907df786b2e9556719cdf801e25d30dd (deny updating a hidden ref)
 ! [remote rejected] refs/keep-around/8d71603be6dcc20892aea7dde55e2ca37437e1ec -> refs/keep-around/8d71603be6dcc20892aea7dde55e2ca37437e1ec (deny updating a hidden ref)
 ! [remote rejected] refs/keep-around/914f1ff0b0c68e5ccc43bfb16db243c759595a2e -> refs/keep-around/914f1ff0b0c68e5ccc43bfb16db243c759595a2e (deny updating a hidden ref)
 ! [remote rejected] refs/keep-around/93b4bc0091ef258c9b33599aea53006f366bf30b -> refs/keep-around/93b4bc0091ef258c9b33599aea53006f366bf30b (deny updating a hidden ref)
 ! [remote rejected] refs/keep-around/9498146addd947d1e608f0b9faf3542ec53b91b6 -> refs/keep-around/9498146addd947d1e608f0b9faf3542ec53b91b6 (deny updating a hidden ref)
 ! [remote rejected] refs/keep-around/970ae217af3abd8d36cdf4bfb3071a7abbb7ac92 -> refs/keep-around/970ae217af3abd8d36cdf4bfb3071a7abbb7ac92 (deny updating a hidden ref)
 ! [remote rejected] refs/keep-around/9c9a233f6e8d84cfabfdf70aade2023bb9800a11 -> refs/keep-around/9c9a233f6e8d84cfabfdf70aade2023bb9800a11 (deny updating a hidden ref)
 ! [remote rejected] refs/keep-around/9f1e8e26d1cd71db84263e862614ea2f5e9edc22 -> refs/keep-around/9f1e8e26d1cd71db84263e862614ea2f5e9edc22 (deny updating a hidden ref)
 ! [remote rejected] refs/keep-around/9f2381b9af9372c00fb6c93974da0d5fb8ebb624 -> refs/keep-around/9f2381b9af9372c00fb6c93974da0d5fb8ebb624 (deny updating a hidden ref)
 ! [remote rejected] refs/keep-around/9f896a51a232fdfb093ae4969b75f11e84feceb9 -> refs/keep-around/9f896a51a232fdfb093ae4969b75f11e84feceb9 (deny updating a hidden ref)
 ! [remote rejected] refs/keep-around/9fa29a3034709ec648b65fc948babf5e790ecc91 -> refs/keep-around/9fa29a3034709ec648b65fc948babf5e790ecc91 (deny updating a hidden ref)
 ! [remote rejected] refs/keep-around/a7e126fea8ac8df616ff358a920d120f8b58d2ba -> refs/keep-around/a7e126fea8ac8df616ff358a920d120f8b58d2ba (deny updating a hidden ref)
 ! [remote rejected] refs/keep-around/aac4449bb0a4d725ef2b5d9cad474ec60b5c5a07 -> refs/keep-around/aac4449bb0a4d725ef2b5d9cad474ec60b5c5a07 (deny updating a hidden ref)
 ! [remote rejected] refs/keep-around/ad52addc4c5aaf0a2cdfb635163f9be459cc50de -> refs/keep-around/ad52addc4c5aaf0a2cdfb635163f9be459cc50de (deny updating a hidden ref)
 ! [remote rejected] refs/keep-around/b5b7e3a55c30ce05147f70327a2a6d9f3f7991db -> refs/keep-around/b5b7e3a55c30ce05147f70327a2a6d9f3f7991db (deny updating a hidden ref)
 ! [remote rejected] refs/keep-around/bba593e5e3c21bc47e377c929a2be29dc69be561 -> refs/keep-around/bba593e5e3c21bc47e377c929a2be29dc69be561 (deny updating a hidden ref)
 ! [remote rejected] refs/keep-around/be7060e325ad95964cf0bcdd2ec00fbae6eb744a -> refs/keep-around/be7060e325ad95964cf0bcdd2ec00fbae6eb744a (deny updating a hidden ref)
 ! [remote rejected] refs/keep-around/c2ecc8a2867245c3ddce1bf56688eb209a641b0c -> refs/keep-around/c2ecc8a2867245c3ddce1bf56688eb209a641b0c (deny updating a hidden ref)
 ! [remote rejected] refs/keep-around/ca6b8628b5afde052fe8c05306dc24312507cfd1 -> refs/keep-around/ca6b8628b5afde052fe8c05306dc24312507cfd1 (deny updating a hidden ref)
 ! [remote rejected] refs/keep-around/ccf49dc5df928ff11e3880a1904647e2fd463a1f -> refs/keep-around/ccf49dc5df928ff11e3880a1904647e2fd463a1f (deny updating a hidden ref)
 ! [remote rejected] refs/keep-around/d704a5eb01adcad70703badba4e90d4a7ac5fc7d -> refs/keep-around/d704a5eb01adcad70703badba4e90d4a7ac5fc7d (deny updating a hidden ref)
 ! [remote rejected] refs/keep-around/d788d4d14f94860cb0c22c7716e9f67a237c1d3e -> refs/keep-around/d788d4d14f94860cb0c22c7716e9f67a237c1d3e (deny updating a hidden ref)
 ! [remote rejected] refs/keep-around/da94e135b048bbd2691429a5502823e1305fb068 -> refs/keep-around/da94e135b048bbd2691429a5502823e1305fb068 (deny updating a hidden ref)
 ! [remote rejected] refs/keep-around/db06c6846108682303e41237c8410debf5c046e6 -> refs/keep-around/db06c6846108682303e41237c8410debf5c046e6 (deny updating a hidden ref)
 ! [remote rejected] refs/keep-around/e07a5c369fa3ae47460ead06cc25a317308dd25e -> refs/keep-around/e07a5c369fa3ae47460ead06cc25a317308dd25e (deny updating a hidden ref)
 ! [remote rejected] refs/keep-around/e20a2e69aaa400073b5c9337fc20d3bd807f2180 -> refs/keep-around/e20a2e69aaa400073b5c9337fc20d3bd807f2180 (deny updating a hidden ref)
 ! [remote rejected] refs/keep-around/e3c2cdd97753559daf33077f4cd68b0e7b6a81fb -> refs/keep-around/e3c2cdd97753559daf33077f4cd68b0e7b6a81fb (deny updating a hidden ref)
 ! [remote rejected] refs/keep-around/e93ad43217271910c21ab17506fb6114f6590149 -> refs/keep-around/e93ad43217271910c21ab17506fb6114f6590149 (deny updating a hidden ref)
 ! [remote rejected] refs/keep-around/eac96d30e74cc57490c13bed8a486c321d25575d -> refs/keep-around/eac96d30e74cc57490c13bed8a486c321d25575d (deny updating a hidden ref)
 ! [remote rejected] refs/keep-around/eee415278c6e8056dbcda6042812e46f6ef2464e -> refs/keep-around/eee415278c6e8056dbcda6042812e46f6ef2464e (deny updating a hidden ref)
 ! [remote rejected] refs/keep-around/f44321a6ca18a6da0d47d47d5d0e1c857d12aaea -> refs/keep-around/f44321a6ca18a6da0d47d47d5d0e1c857d12aaea (deny updating a hidden ref)
 ! [remote rejected] refs/keep-around/f652fc4e7c8f492ce1f852bcd31739c42ea11925 -> refs/keep-around/f652fc4e7c8f492ce1f852bcd31739c42ea11925 (deny updating a hidden ref)
 ! [remote rejected] refs/keep-around/fb8625be9e1ccc7ddab1ae839bf0f4e5bbaf920d -> refs/keep-around/fb8625be9e1ccc7ddab1ae839bf0f4e5bbaf920d (deny updating a hidden ref)
 ! [remote rejected] refs/keep-around/fc5b903264dcb7f7ba31ab7337083d0097bffc93 -> refs/keep-around/fc5b903264dcb7f7ba31ab7337083d0097bffc93 (deny updating a hidden ref)
 ! [remote rejected] refs/keep-around/fce696b22934c3af04ca3dfea9eefc01de20a537 -> refs/keep-around/fce696b22934c3af04ca3dfea9eefc01de20a537 (deny updating a hidden ref)
error: failed to push some refs to 'https://git.didi-inc.com:8021/dramaly-service/session_lib.git'
➜   session_lib.git git:(master)

PS: 那些被远程拒绝的是git的隐藏refs,gitLab用来保存某些临时状态或历史记录的内部引用。当批量推到新的仓库这些东西就不需要了。是gitlab的默认操作。

重要:此时刷新仓库后注意观察文件大小,以及分支个数是否正确。分支可能不相等,因为原先追踪有失败的。大小也会发生变化(皆为正常现象)

步骤三:刷新新仓库前 VS 刷新仓库后
刷新仓库前

刷新仓库后
原仓库快照:
在这里插入图片描述
新仓库快照
在这里插入图片描述

到此:大功告成

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.coloradmin.cn/o/2223181.html

如若内容造成侵权/违法违规/事实不符,请联系多彩编程网进行投诉反馈,一经查实,立即删除!

相关文章

Anchor DETR论文笔记

原文链接 [2109.07107] Anchor DETR: Query Design for Transformer-Based Object Detection (arxiv.org)https://arxiv.org/abs/2109.07107 原文笔记 What 提出了一种新的基于锚点的查询设计,即将锚点编码为对象查询。 Why 对象检测任务是预测图像中每个对象…

监督学习之逻辑回归

逻辑回归(Logistic Regression) 逻辑回归是一种用于二分类(binary classification)问题的统计模型。尽管其名称中有“回归”二字,但逻辑回归实际上用于分类任务。它的核心思想是通过将线性回归的输出映射到一个概率值…

C++与现代开发实践第三节:多线程与并发编程

第四章:C与现代开发实践 第三节:多线程与并发编程 在这一课中,我们将详细探讨多线程与并发编程的各个方面,特别是从线程的创建、管理到高级的优化技术,并且通过复杂的实战案例来展示如何应对并发问题。最后&#xff…

探索现代软件开发中的持续集成与持续交付(CI/CD)实践

探索现代软件开发中的持续集成与持续交付(CI/CD)实践 随着软件开发的飞速进步,现代开发团队已经从传统的开发模式向更加自动化和灵活的开发流程转变。持续集成(CI) 与 持续交付(CD) 成为当下主…

git入门操作

文章目录 git入门操作git创建仓库:git initgit clone工作区域:文件状态git添加和提交git add git statusgit add .git commit -m 版本描述git ls-filesgit log git的reset回退版本git log 查看版本号git reset --softgit reset --hardgit reset --mixed总…

Github 2024-10-21 开源项目周报 Top15

根据Github Trendings的统计,本周(2024-10-21统计)共有15个项目上榜。根据开发语言中项目的数量,汇总情况如下: 开发语言项目数量TypeScript项目7Python项目5Go项目2Svelte项目1非开发语言项目1C++项目1Shell项目1技术面试必备知识开源项目 创建周期:2442 天Star数量:1762…

chrome清除https状态

莫名其妙的http跳转到https的url了。 解决办法 浏览器地址栏输入:chrome://net-internals/#hsts 输入你需要删除的域名即可!!!

uniapp picker实现省市二级级联和省市区三级级联

接口返回值格式&#xff1a; 二级级联-vue2 <picker mode"multiSelector" change"bindPickerChange" columnchange"columnchange" :value"index":range"array" range-key"label"><view class"uni…

Qt (QGroupBox、QTableView、QTableWidget)QSS样式

文章目录 设置效果样式内容说明qss文件内容补充 设置效果 先上图&#xff0c;为了方便大家区分&#xff0c;使用了多种颜色进行设置。 样式内容说明 * {background-color: #88e7ea; }设置全局背景色 可能是因为 QGroupBox 的背景色优先级较高&#xff0c;覆盖了全局样式。 …

GD32学习知识点累计

时钟系统 GD32f427主频最高位240MHZ&#xff08;但是只能到200M&#xff09;&#xff0c;GD32给的函数外接25MHZ晶振配置主频为200MHZ,APB1最高频率为60HZ配置为主频的4分频为50MHZ&#xff0c;APB2最大为120MHZ配置为主频的2分频为100MHZ 定时器 无论什么定时器最大频率为200M…

上行流量和下行流量的区别

一、定义 上行流量 指从本地设备&#xff08;如用户的计算机、手机等客户端设备&#xff09;发送数据到远程设备&#xff08;如服务器&#xff09;的流量。简单来说&#xff0c;就是数据从你的设备传出去的过程所产生的流量。例如&#xff0c;当你上传一张图片到云存储服务时&…

Ansible 的脚本 --- playbooks剧本

playbooks 本身由以下各部分组成 &#xff08;1&#xff09;Tasks&#xff1a;任务&#xff0c;即通过 task 调用 ansible 的模板将多个操作组织在一个 playbook 中运行 &#xff08;2&#xff09;Vars&#xff1a;变量 &#xff08;3&#xff09;Templates&#xff1a;模板 &a…

虚拟化数据恢复——Hyper-V虚拟机文件丢失导致虚拟机无法使用的数据恢复案例

虚拟化数据恢复环境&#xff1a; Windows Server操作系统服务器上部署Hyper-V虚拟机环境。虚拟机的硬盘文件和配置文件存放在一台存储中&#xff0c;该存储上有一组由4块硬盘组建的raid5阵列&#xff0c;除此之外&#xff0c;还有一块单盘存放档虚拟机的备份文件。 虚拟化故障…

【ubuntu20.04】【ROS Noetic】【ROS安装】【Website may be down.】【gpg: 找不到有效的 OpenPGP 数据。】

提示&#xff1a;文章写完后&#xff0c;目录可以自动生成&#xff0c;如何生成可参考右边的帮助文档 文章目录 前言一、登入www.ros.org1.Setup your sources.list2.Set up your keys中间出了点问题 gpg: 找不到有效的 OpenPGP 数据。4.Installation下载安装ros5.环境参数的配…

使用js和canvas、html实现简单的俄罗斯方块小游戏

玩法介绍 点击开始游戏后&#xff0c;使用键盘上的←→控制移动&#xff0c;↑控制方块旋转&#xff0c;↓控制方块加速下落&#xff0c;累计一行即可消除并获得分数&#xff0c;触碰到顶部时游戏结束 代码实现 html代码复制即用&#xff0c;可阅读注释 <!DOCTYPE html…

(三)行为模式:11、模板模式(Template Pattern)(C++示例)

目录 1、模板模式含义 2、模板模式的UML图学习 3、模板模式的应用场景 4、模板模式的优缺点 5、C实现的实例 1、模板模式含义 模板模式&#xff08;Template Method Pattern&#xff09;是一种行为设计模式&#xff0c;它定义了一个操作中的算法骨架&#xff0c;将某些步骤…

【软件工程】软件项目管理/工程项目管理复习资料

第一章 软件项目管理概述习题 一. 填空题 实现项目目标的制约因素有&#xff08; 项目范围 &#xff09;、&#xff08; 成本 &#xff09;、&#xff08; 进度计划 &#xff09;、&#xff08; 客户满意度 &#xff09;等。 项目管理&#xff08; 启动过程组 &#xff09;、…

使用Jenkins持续集成的一些经验总结

作为一名测试开发人员或工程师&#xff0c;您是否曾在项目中遇到手动部署与测试效率低下的问题&#xff1f;当每次提交代码都需要人工触发一系列的构建与测试流程时&#xff0c;整个开发进度都会受到拖累。正是在这样的背景下&#xff0c;Jenkins&#xff0c;作为持续集成的关键…

人工智能在医疗健康领域的应用与展望

随着技术的发展&#xff0c;人工智能&#xff08;Artificial Intelligence, AI&#xff09;正逐渐渗透到各行各业之中&#xff0c;其中医疗健康领域因其对人类福祉的重要性而备受关注。AI技术的应用不仅能够提高医疗服务的质量和效率&#xff0c;还能促进医学研究的进步&#x…

【蓝桥杯选拔赛真题78】python电话号码 第十五届青少年组蓝桥杯python选拔赛真题 算法思维真题解析

目录 python电话号码 一、题目要求 1、编程实现 2、输入输出 二、算法分析 三、程序编写 四、程序说明 五、运行结果 六、考点分析 七、 推荐资料 1、蓝桥杯比赛 2、考级资料 3、其它资料 python电话号码 第十五届蓝桥杯青少年组python比赛选拔赛真题 一、题目要…