remote: You are not allowed to push code to this project.

场景: 在我的电脑上替师姐上传代码

可能账号密码与初始配置(我自己的)不同,需要更换一下才能上传到师姐的账号上:

查看原本的用户:

bash 复制代码
$ git config user.name | git config user.email

显示是我自己的,因此需要重新配置为师姐的

更换方式:重置git的认证设置

bash 复制代码
git config --system --unset credential.helper

之后就能正常传啦

相关推荐
wan_da_ren14 小时前
Windows 环境下使用 Go Modules 拉取带外层 Basic Auth 的私有 GitLab 仓库 — 完整解决方案
windows·golang·gitlab
天才测试猿15 小时前
快速定位bug,编写测试用例
自动化测试·软件测试·功能测试·测试工具·职场和发展·测试用例·bug
llc的足迹15 小时前
docker 中 gitlab 和 gitlab runner 离线安装及配置
docker·容器·gitlab
一念一花一世界1 天前
CI/CD工具选型:GitLab CI与Arbess全面对比指南
ci/cd·gitlab·jenkins·cicd·arbess
福大大架构师每日一题1 天前
PyTorch v2.9.1 发布:重要 Bug 修复与性能优化详解
人工智能·pytorch·bug
黑臂麒麟1 天前
Electron&OpenHarmony 跨平台实战开发(bug):npm 安装 Electron 依赖常见错误排查
electron·npm·bug·openharmony
张童瑶1 天前
Gitlab 搭建本地私有仓库
gitlab
HIT_Weston1 天前
51、【Ubuntu】【Gitlab】拉出内网 Web 服务:http.server 单/多线程分析(三)
ubuntu·http·gitlab
CIb0la1 天前
Complete Bug Bounty tool List for free
linux·运维·bug
欧恩意2 天前
【Viusal Studio】关于增量链接机制
汇编·windows·bug