【GIT】修改Git远程地址 git config remote.origin.url "https://..."

背景

git pull 拉取代码时报错

fatal: Authentication failed for 'http://oauth2:J***********KY-@10.1.16.22/scoot/scoot.git/'

git config --list
看一下,发现这个 remote.origin.url 需要修改

更正 remote.origin.url

git config remote.origin.url "http://..."

posted @   aaacarrot  阅读(395)  评论(0编辑  收藏  举报
相关博文:
阅读排行:
· 阿里最新开源QwQ-32B,效果媲美deepseek-r1满血版,部署成本又又又降低了!
· SQL Server 2025 AI相关能力初探
· AI编程工具终极对决:字节Trae VS Cursor,谁才是开发者新宠?
· 开源Multi-agent AI智能体框架aevatar.ai,欢迎大家贡献代码
· Manus重磅发布:全球首款通用AI代理技术深度解析与实战指南
历史上的今天:
2023-03-15 【Retry】消息重试框架 Spring-Retry 和 Guava-Retry
点击右上角即可分享
微信分享提示