今天使用 VSCode 的 Git 工具向私有仓库推送时,提示:
> git fetch origin
remote: Repository not found.
解决方法
修改原有的远程地址,在 github.com 域名前加上 用户名@,为 用户名@github.com。
即:将地址设置为
https://用户名@github.com/用户名/仓库名.git 枫茶舍
筱枫的笔记和碎碎念
今天使用 VSCode 的 Git 工具向私有仓库推送时,提示:
> git fetch origin
remote: Repository not found.
修改原有的远程地址,在 github.com 域名前加上 用户名@,为 用户名@github.com。
即:将地址设置为
https://用户名@github.com/用户名/仓库名.git