持续集成

Git

第一次使用,需要设置个人信息:

git config --global user.email "email@example.com"
git config --global user.name "Your Name"

SSH 生成公钥/私钥

ssh-keygen -t rsa -C "xxxxxxx@xx.com"

过程:

Enter file in which to save the key (C:\Users\86158/.ssh/id_rsa):
保存公钥密钥的位置:默认不输入就可以,

Enter passphrase (empty for no passphrase):
Enter same passphrase again:
重点(直接回车,不需要设置):git的安全口令,与github和gitee无关。如果想要在clone、pull、push时输入密码,可以设置

HTTPS PUSH 报错

PS E:\PyProject\hhhhhhh\interface\test_0124> git push https://gitee.com/test_0124.git
remote: [session-8149fea5] 18701439@qq.com: Incorrect username or password (access token)
fatal: Authentication failed for 'https://gitee.com/test_0124.git/'

原因:git 操作时 之前设置的gitee密码不对

解决:

jenkins 构建 - Build periodically

https://chaiyingchao.blog.csdn.net/article/details/106143432

posted @   chuangzhou  阅读(28)  评论(0编辑  收藏  举报
相关博文:
阅读排行:
· 阿里最新开源QwQ-32B,效果媲美deepseek-r1满血版,部署成本又又又降低了!
· 单线程的Redis速度为什么快?
· SQL Server 2025 AI相关能力初探
· AI编程工具终极对决:字节Trae VS Cursor,谁才是开发者新宠?
· 展开说说关于C#中ORM框架的用法!
点击右上角即可分享
微信分享提示