首页 > Web开发 > 详细

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

时间:2020-01-21 22:20:40      阅读:35      评论:0      收藏:0      [点我收藏+]

标签:rom   name   branch   tin   please   correct   

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

[email protected] MINGW64 /d/00/mozq_pro1/learn2 (master)
$

[email protected] MINGW64 /d/00/mozq_pro1/learn2 (master)
$ git remote
origin

[email protected] MINGW64 /d/00/mozq_pro1/learn2 (master)
$ git branch -a
* master
  remotes/origin/HEAD -> origin/master
  remotes/origin/master

[email protected] 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.

[email protected] 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/'

[email protected] MINGW64 /d/00/mozq_pro1/learn2 (master)
$ git push --help

[email protected] MINGW64 /d/00/mozq_pro1/learn2 (master)
$ git config --system --unset credential.helper

[email protected] 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/'

[email protected] MINGW64 /d/00/mozq_pro1/learn2 (master)
$ git remote
giteeSSL
origin

[email protected] 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

[email protected] MINGW64 /d/00/mozq_pro1/learn2 (master)
$ git branch -v
* master 20a94b7 [ahead 1] dubbo演示程序

[email protected] MINGW64 /d/00/mozq_pro1/learn2 (master)
$ git branch -a
* master
  remotes/giteeSSL/master
  remotes/origin/HEAD -> origin/master
  remotes/origin/master

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

标签:rom   name   branch   tin   please   correct   

原文:https://www.cnblogs.com/mozq/p/12225803.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 bubuko.com 版权所有 鲁ICP备09046678号-4
打开技术之扣,分享程序人生!
             

鲁公网安备 37021202000002号