zoukankan      html  css  js  c++  java
  • 码云推送项目必须用ssl地址不能用http地址

    码云推送项目必须用ssl地址不能用http地址

    jie@mozq MINGW64 /d/00/mozq_pro1/learn2 (master)
    $
    
    jie@mozq MINGW64 /d/00/mozq_pro1/learn2 (master)
    $ git remote
    origin
    
    jie@mozq MINGW64 /d/00/mozq_pro1/learn2 (master)
    $ git branch -a
    * master
      remotes/origin/HEAD -> origin/master
      remotes/origin/master
    
    jie@mozq MINGW64 /d/00/mozq_pro1/learn2 (master)
    $ git push master:master
    ssh: Could not resolve hostname master: Name or service not known
    fatal: Could not read from remote repository.
    
    Please make sure you have the correct access rights
    and the repository exists.
    
    jie@mozq MINGW64 /d/00/mozq_pro1/learn2 (master)
    $ git push origin master:master
    remote: Incorrect username or password ( access token )
    fatal: Authentication failed for 'https://gitee.com/mozq/learn.git/'
    
    jie@mozq MINGW64 /d/00/mozq_pro1/learn2 (master)
    $ git push --help
    
    jie@mozq MINGW64 /d/00/mozq_pro1/learn2 (master)
    $ git config --system --unset credential.helper
    
    jie@mozq MINGW64 /d/00/mozq_pro1/learn2 (master)
    $ git push origin master:master
    remote: Incorrect username or password ( access token )
    fatal: Authentication failed for 'https://gitee.com/mozq/learn.git/'
    
    jie@mozq MINGW64 /d/00/mozq_pro1/learn2 (master)
    $ git remote
    giteeSSL
    origin
    
    jie@mozq MINGW64 /d/00/mozq_pro1/learn2 (master)
    $ git push giteeSSL master:master
    Counting objects: 43, done.
    Delta compression using up to 4 threads.
    Compressing objects: 100% (22/22), done.
    Writing objects: 100% (43/43), 5.90 KiB | 0 bytes/s, done.
    Total 43 (delta 3), reused 0 (delta 0)
    remote: Powered by GITEE.COM [GNK-3.8]
    To gitee.com:mozq/learn.git
       86b2c42..20a94b7  master -> master
    
    jie@mozq MINGW64 /d/00/mozq_pro1/learn2 (master)
    $ git branch -v
    * master 20a94b7 [ahead 1] dubbo演示程序
    
    jie@mozq MINGW64 /d/00/mozq_pro1/learn2 (master)
    $ git branch -a
    * master
      remotes/giteeSSL/master
      remotes/origin/HEAD -> origin/master
      remotes/origin/master
    
  • 相关阅读:
    一个例子帮助理解正则表达式
    requestAnimationFrame兼容性扩展
    检测访问网页的浏览器呈现引擎、平台、Windows操作系统、移动设备和游戏系统
    手把手教你如何安装和使用Karma-Jasmine
    cesium随笔 — 隐藏三维场景下方版权信息
    cesium随笔 — 获取当前鼠标的经度、纬度、高度
    Cesium Language (CZML) 入门2 — CZML Content(CZML的内容)
    html初识
    MySQL终章
    MySQL表与表之间的关系详解
  • 原文地址:https://www.cnblogs.com/mozq/p/12225803.html
Copyright © 2011-2022 走看看