next.js remote:Repository not found -while git push

pgccezyw  于 5个月前  发布在  Git
关注(0)|答案(1)|浏览(51)

当我尝试Next.js项目到这个仓库-'https://github.com/SRIDEV1999/stack_overflow_nextjs14.git/' .它说远程:仓库没有找到.致命:仓库'https://github.com/SRIDEV1999/stack_overflow_nextjs14.git/'没有找到我如何将我的项目推送到这个仓库
当我尝试git push -(remote:Repository not found. fatal:repository 'https://github.com/SRIDEV1999/stack_overflow_nextjs14.git/' not found)这个错误显示在vs终端'

gg58donl

gg58donl1#

试试这个命令:

git remote set-url origin https://[email protected]/SRIDEV1999/stack_overflow_nextjs14.git/

字符串
此命令更新Git配置中“origin”远程的远程URL。运行此命令后,涉及远程的后续Git操作将使用更新后的URL和指定的用户名。

**注意:**如果您面临与身份验证相关的问题,请考虑使用带有个人访问令牌的SSH或HTTPS以增强安全性。

相关问题