zoukankan      html  css  js  c++  java
  • GIT操作

    一、git clone

    从远程拷贝别人的库来使用

    $ git clone <版本库的网址>
    $ git clone  https://github.com/taotao8810/TianChi-Game.git

    添加一个自己的远程仓库

    $ git remote add origin https://github.com/taotao8810/xxxxx.git

    如何去解决fatal: refusing to merge unrelated histories
    先pull,因为两个仓库不同,发现refusing to merge unrelated histories,无法pull
    因为他们是两个不同的项目,要把两个不同的项目合并,git需要添加一句代码

    git pull origin master --allow-unrelated-histories
  • 相关阅读:
    2020年-测试流程学习
    Jmeter接口测试2020(1)
    elk
    redis
    RabbitMQ
    memcache集群
    mysql安装
    mysql从的配置文件
    memcache
    keepalived
  • 原文地址:https://www.cnblogs.com/yaowentao/p/8343076.html
Copyright © 2011-2022 走看看