ICode9

精准搜索请尝试: 精确搜索
  • 在码云上git push时报错,出现error: failed to push some refs to 'https://gitee.com/lipengyangzuishuai/gits2021-11-06 10:32:59

    1.使用 git remote add 别名 远程地址 命令起别名,查看当前所有远程地址别名 2.创建hello.txt   3.使用 git push 别名 分支  命令推送失败       4.使用git pull 远程地址别名 master --allow-unrelated-histories 根据错误提示 用git pull 将远程仓库的内容pull下来 无奈p

  • git 第一次上传报错 rejected error: failed to push some refs to2021-11-06 09:31:38

    git仓库建好后,如果仓库有md文件,需要先pull一次 1、报错信息如下 The most similar command is credential-store To https://gitee.com/martin-sun/web-ui-test-excel-driver.git ! [rejected] master -> master (fetch first) error: failed to push some refs to 'https:

  • docker pull 配置代理2021-11-05 15:00:48

    由于网络限制,一些服务器通常需要使用代理才能连接外网, 那么我们使用docker pull 镜像时同样需要配置代理。 1. 在服务器上添加如下目录 mkdir /etc/systemd/system/docker.service.d  2. 创建如下文件,并配置你的代理服务器 $ vim /etc/systemd/system/docker.service.d/http_pro

  • hbuilder git pull Host key verification failedfatal : Could not read from remote repository2021-11-04 16:32:22

    在安装完hbuilder 后配置好git,git clone正常,而git pull 是出现:Host key verification failedfatal : Could not read from remote repository .Please make sure you have the correct accessriahtsand the repository exists 解决办法:ssh-keyscan -H gitee.com >> ~/.ssh/k

  • 使用Docker Compose 部署 FATE2021-11-03 18:35:14

    20211101#基本信息VMware® Workstation 16 Proubuntu18.04@author 吴杰 #安装参考https://github.com/FederatedAI/KubeFATE/blob/master/docker-deploy/README_zh.md 1.安装docker #安装命令curl -fsSL https://get.docker.com | bash -s docker --mirror Aliyun #查看docker版

  • github中fork的使用2021-10-29 11:01:56

    由于git的权限控制功能比较弱,如果想给某个项目提供代码除了直接获得项目的push权限外,github另外提供了pull request的方式来进行协作。这种方式请求仓库拥有者拉自己的代码,而不需要仓库的权限。 首先,进入上游仓库,点击下图中红框内的fork,通过fork的方式在自己的仓库里建立一个项

  • Docker-安装私服2021-10-28 19:01:01

    在使用maven管理jar包依赖的时候,为了避免每次都从中央仓库拉取依赖包,使用了nexus做了代理仓库。docker镜像仓库与nexus私服仓库作用类似,用于将打包好的镜像保存在仓库中方便开发、测试、生产环境镜像拉取存储,减轻环境部署需要的相应操作。 1.1 购买阿里云服务器 1、选择云服务器,创

  • 解决 ! [rejected] xxx -> xxx(fetch first)问题2021-10-27 11:31:12

    出现错误的主要原因是github中的README.md文件不在本地代码目录中 可以通过如下命令进行代码合并【注:pull=fetch+merge] git pull --rebase origin master 执行上面代码后可以看到本地代码库中多了README.md文件 此时再执行语句 git push -u origin master即可完成代码上传到

  • GitHub 如何 pull request2021-10-24 23:03:37

    这里以添加 LICENSE 为例,讲解如何使用 pull request 。 建一个测试仓库,点击 add file : 点击 create new file ,进入如下界面,左边输入大写 LICENSE ,右边会出现一个按钮,点击一下: 选择 MIT LICENSE : 然后会生成一份协议模板,根据右边的值进行填充: 生成最终协议,注意下面的选项,

  • jenkins通过git pull发布git代码2021-10-23 14:01:24

    一、设置Jenkins和业务机之间互信 1、Jenkins机拷贝秘钥 ssh-copy-id -P 13221 root@IP     2、如果无法正常互信需要修改相关配置 2.1、权限问题 .ssh目录,以及/home/当前用户 需要700权限,参考以下操作调整 chmod 700 ~/.ssh chmod 700 /root .ssh目录下的authorized_keys文件

  • pinpoint2021-10-22 08:33:29

    pinpoint 拉docker 镜像 官网: https://hub.docker.com/r/pinpointdocker/pinpoint-web https://hub.docker.com/r/pinpointdocker/pinpoint-hbase https://hub.docker.com/r/pinpointdocker/pinpoint-collector https://hub.docker.com/r/pinpointdocker/pinpoint-agent https://

  • Git、Linux、Pycharm连服务器等基本操作2021-10-20 22:02:53

    这三个都是日常用得多(查得也多)的工具,每次都用到的时候再查一遍太麻烦了,所以mark一下 Git 可参考博客:https://blog.csdn.net/lemonaha/article/details/69977098,虽然博客里主要是gitlab(当年作编译project要用),但是git的基本命令是相同的。 1 //几个常用的git 命令 2 git init //

  • mac sourceTree 每次操作提示需要密码2021-10-20 21:01:08

        1、在终端(terminal)打开你的工程目录2、输入git config credential.helper store 3、拉取代码git pull  

  • consul中registrator服务器安装之后测试创建容器时报错:docker: Error response from daemon: No command specified.2021-10-20 07:32:34

    [root@192 ~]# docker run -itd -p:83:80 --name web1 -h test1 nginx docker: Error response from daemon: No command specified. See 'docker run --help'. [root@192 ~]# docker ps -a CONTAINER ID IMAGE COMMAND

  • CF1481F AB Tree 题解2021-10-19 22:34:07

    Link. Codeforces Luogu Description. 给定 \(n\) 个点的树,\(1\) 是根,染出 \(k\) 个白点 \(n-k\) 个黑点。 求出最少的本质不同的从根走到某个节点连成的字符串数,并构造。 Solution. 首先考虑没有 \(k\) 的限制,肯定每层染相同。 那么最小值肯定是 \(\max\{\text{dep}_i\}\)。 考

  • Git的基本原理和简单使用2021-10-19 21:02:31

    一、Git原理 1. Git采用的是全量存储方案 ​ 所谓全量方案,就是每个版本都保存所有的数据(多是代码,文件占据空间较小)。优点:快速;缺点:浪费空间。 ​ 与此相对的是增量方案:保存的是上一个版本 + 补丁。优点:节省空间;缺点:要进行运算,费时。 2. 文件变动信息的存储 ​ git把每次文件的改动

  • 024、功能分支工作流2021-10-19 18:03:06

      功能分支工作流   功能分支工作流背后的核心思路是所有的功能开发应该在一个专门的分支,而不是在 master 分支上。这个隔离可以方便多个开发者在各自的功能上开发而不会弄乱主干代码。另外,也保证了 master 分支的代码一定不会是有问题的,极大有利于集成环境。 功能开发隔离也让

  • idea中使用git更新代码(十三)2021-10-15 10:34:47

    前言 记录idea使用git更新并提交代码遇到的一点疑惑。 一、更新 因为不太了解using stash与using shelve的区别,所以百度了一下。我自己一直用的using stash。 有两种方式,如下: 1.1 直接pull 这就是 git pull。相当于git fetch+git merge  1.2 通过update project 按钮  就是这种

  • ubuntu docker pull 失败 Error response from daemon: Get https://registry-1.docker.io/v2/2021-10-13 10:04:46

    ubuntu 版本:16.04.12 docker pull 镜像失败: Error response from daemon: Get https://registry-1.docker.io/v2/: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers) 测试方法: 1、修改/etc/docker/daemon.json文件

  • git pull拉取远程仓库代码,避免覆盖本地修改的代码2021-10-11 10:03:03

    1、先将本地代码放到暂存区 git stash 2、将远程github(码云等)上面的代码拉取下来 git pull 3、将第一步暂存区的代码放回本地 git stash pop 4、下面继续我们平时的正常上传代码的操作即可: git add . 或者 git add -A git commit -m '操作内容' git push

  • rancher 管理容器集群部署2021-10-06 18:01:46

    所有节点同时执行安装,docker版本18.0,mariadb10.0, 1.时间同步 yum -y install ntp yum update -y /bin/systemctl start ntpd.service ntpdate -s time.nist.gov;hwclock -w --localtime */10 * * * * ntpdate -s time.nist.gov;hwclock -w --localtime cp /usr/share/zoneinfo/A

  • Ubuntu 16.04下使用git clone时报“gnutls_handshake() failed: Error in the pull function”错误2021-10-06 02:01:01

    报错提示 gnutls_handshake() failed: Error in the pull function 原因及解决办法 可能是libssl库的问题,安装libssl-dev可以解决 sudo apt-get install libssl-dev

  • 【Git与Github学习(三)】GitHub2021-10-04 09:06:16

    Git如何与Github上的远程库进行交互? 文章目录 1)账号信息2)创建远程库3)创建远程库地址别名4)推送(push)5)克隆6)拉取(pull)7)解决冲突8)跨团队协作 1)账号信息 GitHub 首页就是注册页面:https://github.com/ 2)创建远程库 1、 2、 3)创建远程库地址别名 查看当前所有远程地址别名:

  • Git pull --rebase vs. --merge2021-10-04 07:32:03

        https://sdqweb.ipd.kit.edu/wiki/Git_pull_--rebase_vs._--merge   Git pull --rebase vs. --merge     This page briefly explains the difference between rebasing and merging in git while pulling. Both techniques are used to combine your local unpublished

  • docker常用 镜像命令 以及 帮助命令2021-10-02 20:34:35

    docker的镜像相关命令 docker images 查看本地镜像 -a 展示所有,显示中间镜像层-q 只显示镜像id–digests 显示摘要信息 (备注)–no-trunc 显示完整信息 docker search 去docker hub上去查找镜像的名字 docker search -f stars=30 tomcat 查找星大于30的镜像 docker pull

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

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

ICode9版权所有