【发布时间】:2014-12-02 18:48:29
【问题描述】:
我想我可能错误地为 Git 的命令行工具配置了我的配置文件。
每当我尝试使用 git 存储库 URL 安装某些东西时,我都会收到以下错误:
fatal: '.insteadofgithub.com/angular/bower-angular.git' does not appear to be a git repository
我使用了将git:// 替换为http:// 的URL,但不幸的是,它没有恢复。
是否有命令行来重新配置我的网址?
【问题讨论】:
-
你不必用你的名字签名,因为它会自动出现在你帖子的右下角。
-
你能发布你的 .gitconfig 内容吗?可能是错误的
insteadOf条目。
标签: macos git github terminal repository