ICode9

精准搜索请尝试: 精确搜索
  • fatal: unable to access 'https://github.com/samtools/htslib/': GnuTLS recv error (-54): Er2022-09-16 23:02:00

      001、问题 root@ubuntu01:/home/software# git clone https://github.com/samtools/htslib Cloning into 'htslib'... fatal: unable to access 'https://github.com/samtools/htslib/': GnuTLS recv error (-54): Error in the pull function.

  • 新建Github仓库并上传本地代码2022-09-09 00:32:51

    按照Github的教程 Adding a local repository to GitHub using Git 1. 创建空的Github仓库 创建远程仓库

  • 嵌入式环境中使用git记录2022-09-07 10:31:40

    前提 在已经下载好git的下. 1.先获取ssh密钥,要注意的是,嵌入式开发中通常是交叉编译环境,会用samba,将window下的目录映射进入虚拟机中,而使用window的terminal终产生的ssh密钥是不适用于ubuntu中的, 所以第一补,现ubuntu中的工作目录下产生一个密钥,过程使用代码如下 1.创建用户名,邮箱

  • 微信开发者工具拉取gitlab远程代码报Pull failed原因分析:2022-09-01 12:33:24

    可能出现的原因: 本地主机上没有安装node   node下载地址:  1 https://nodejs.org/zh-cn/download/  没有保存gitlab的用户名和密码       

  • git pull时遇到error: cannot lock ref 'xxx': ref xxx is at (一个commitID) but expected的解决办法2022-08-31 01:00:32

    (30条消息) git pull时遇到error: cannot lock ref 'xxx': ref xxx is at (一个commitID) but expected的解决办法_绯浅yousa的博客-CSDN博客   遇到的master有问题,同样删除有效

  • 使用小乌龟来更新代码-022022-08-28 01:01:04

    小乌龟更新代码使用的是pull 右击项目文件,TortoiseGit--->pull来更新代码,从远程仓库拉取最新的代码,拉取后。    点击OK   然后点击Pulled Diff,点击Show log看看当前版本和最新版本相比哪里有修改,是否有冲突:    例如,我把一个压缩文件给删除了,还有修改了Default里的一个文件

  • 0 - Docker常用命令2022-08-26 23:03:17

    一、Docker命令 重启docker:  service docker restart 查看docker信息:docker info 二、镜像命令 拉取镜像  docker pull {image_name}  或者  docker pull docker.io/images_name 三、容器命令  

  • IDEA2021.1.2版本使用Git解决代码冲突2022-08-24 01:00:37

    一、push时遇到冲突  当前分支主管的推送被拒绝 推送前需要合并远程更改      当前分支主管的推送被拒绝   推送前需要合并远程更改    当push时遇到冲突,要先pull 再push   判断代码有没有交集,idea自动判断        1.代码无交集       直接pull成功  

  • git pull 拉代码冲突提示“error: Your local changes to the following files would be overwritten by merge:**.p2022-08-21 14:02:25

    git pull 拉代码冲突提示“error: Your local changes to the following files would be overwritten by merge:         practice/fun.py Please commit your changes or stash them before you merge.”    原因是,本地代码有修改,git pull 拉代码,远程和本地代码有冲突

  • docker pull 和 push2022-08-17 10:01:59

    docker 拉取镜像和推送镜像 pull镜像 docker pull 仓库地址(repository:tag) 从镜像中运行容器 # -i 交互式操作 # -t 终端 # -d 后台运行 # —name 容器名字 docker run -it --name lance_test -d 仓库地址(repository:tag) 查看容器id docker ps 进入容器 docker exec -it

  • git pull 的使用2022-08-15 18:33:27

    git pull的使用 如果这个项目以前提交到远程仓库过,然后在其他电脑修改之后,上传到了远程仓库. 当我想要把远程仓库的代码拉去到本地,就是使用这个命令

  • Docke的使用与详解2 --RabbitMQ安装与使用2022-08-12 18:01:08

    一、RabbitMQ安装与使用 1.RabbitMQ安装 --RabbbitMQ官网 1>使用docker pull rabbitmq拉取镜像,默认拉取最新版本; 这时你会想,我要拉取指定版本该如何呢? 2>使用docker pull rabbitmq:版本号 --比如 docker pull rabbitmq:3.9.12-management 2.使用docker run -d -p 宿主机端口

  • portainer.io 面板pull image 和 run mariadb2022-08-12 10:04:52

    拉取成功 可以在images中查看到 切换到 containers 点击add container 这里我是根据提示自动写入的镜像名称 这里修改了 Working Dir ENV MARIADB_USER MARIADB_PASSWORD MARIADB_ROOT_PASSWORD 最后点击 deploy the container

  • 如何使用git把本地代码上传到远程仓库2022-08-11 00:30:45

    如何使用git把本地代码上传到远程仓库 Git 全局设置:git config --global user.name "xxx"git config --global user.email "xxx@163.com" 初始化git init 查看当前仓库状态git status 将本地的仓库关联到远程仓库上git remote add origin https://gitee.com/xxx_system/xxx.git

  • Git fetch Pull Requests from Azure DevOps2022-08-10 15:30:38

    Git fetch Pull Requests from Azure DevOps 问题 I want to fetch, using git, the list of Pull Requests in a repository hosted in Azure DevOps. Github has the support. We can just add this to .git/config: [remote "origin"] fetch = +refs/pull/*/hea

  • git fetch和git pull对比2022-07-25 01:03:08

    情景重现 你:面试官您好,我是xxx,毕业于xxx学校,工作xxx年,精通各种git命令。 面试官:您好您好,我问个常见的问题考察一下您的技术水平哈。请问,git pull和git fetch有什么区别,二者都在什么情况下使用? 你:emmmm...母鸡喔 面试官(微笑):回家等消息吧,有结果通知你~   二者区分 git fetch 首先我

  • docker网络基础2022-07-24 01:00:20

       Docker目前对单节点的设备提供了将容器端口映射到宿主机和容器互联两个网络服务。在集群部署上由Swarm的专用网络支持。 一、 端口映射   在Docker中容器默认是无法与外部通信的,需要在启动命令中添加对应的参数才允许容器与外部通信。        当容器运行一个web服务时,

  • 如何避免Git合并远程分支时出现可读性差的日志2022-07-20 20:38:20

    当某一分支(假设为main)的本地修改和远程仓库不一致时,执行git push origin main会提示先要执行git pull合并远程代码。 如下示例: # 本地修改与远程仓库不一致时,推送代码到远程仓库时提示先要执行git pull操作 $ git push origin main warning: redirecting to https://gitlab.com/zh

  • GitHub中Fork来的仓库如何进行双向更新2022-07-20 07:01:03

    目录一、做点贡献1. Fork该仓库2. Clone代码并修改3. 提交修改到自己的仓库4. 提交pull requests5. 源仓库审核pull requests二、Fork过来的仓库如何更新三、 如何获取并更新指定Tag1. 如何Clone指定的标签2. 我要添加注释3. 代码如何更新版本3.1 一次失败的尝试3.2 通过upstream

  • Git连接远程仓库2022-07-16 17:35:41

    1.在要上传的本地文件夹右键选择Git Bash 2.输入 git init,会在本地文件生成.git文件,该文件是隐藏的 3.输入 git remote add origin master https://gitee.com/wpsunbo/used-car-trading-platform.git origin是自己取的仓库名 master是分支 仓库地址在管理仓库中查看 4.此时会弹出

  • git rebase2022-07-12 16:34:05

    git pull -r 在push代码时,会提示使用git pull命令,也就是拉取远端代码,更新我们的仓库,那么为什么又要加个 --rebase命令呢? git pull = git fetch + git merge FETCH_HEAD git pull --rebase = git fetch + git rebase FETCH_HEAD 二者的区别是,在fetch之后的操作不同

  • 详解docker镜像管理命令2022-07-12 10:33:40

    一、国内Docker镜像仓库 由于大家都知道的原因,从国外的docker 仓库中pull镜像的下载速度实际上是很慢的。国内的一些一线厂商以及docker官方都在国内免费提供了一些docker镜像仓库,使用国内的镜像仓库下载速度会有很大的提升。例如: Docker 官方提供的中国 registry mirror 阿里

  • RocketMQ之消费者启动与消费流程2022-07-12 09:31:09

    vivo 互联网服务器团队 - Li Kui 一、简介 1.1 RocketMQ 简介 RocketMQ是由阿里巴巴开源的分布式消息中间件,支持顺序消息、定时消息、自定义过滤器、负载均衡、pull/push消息等功能。RocketMQ主要由 Producer、Broker、Consumer 、NameServer四部分组成,其中Producer 负责生产消

  • 【docker专栏5】详解docker镜像管理命令2022-07-12 09:02:02

    一、国内Docker镜像仓库 由于大家都知道的原因,从国外的docker 仓库中pull镜像的下载速度实际上是很慢的。国内的一些一线厂商以及docker官方都在国内免费提供了一些docker镜像仓库,使用国内的镜像仓库下载速度会有很大的提升。例如: Docker 官方提供的中国 registry mirror 阿里云

  • GitHub PR & Squash and Merge All In One2022-07-11 00:32:19

    GitHub PR & Squash and Merge All In One GitHub 上 merge PR 时合并多个 commits 提交 ✅ demo https://github.com/learning-js-by-reading-source-codes/github-pr-code-review/pull/2 https://github.com/learning-js-by-reading-source-codes/github-pr-code-review/com

专注分享技术,共同学习,共同进步。侵权联系[81616952@qq.com]

Copyright (C)ICode9.com, All Rights Reserved.

ICode9版权所有