【发布时间】:2022-04-02 02:33:51
【问题描述】:
当我第一次安装 git 时,我使用了错误的存储库链接。
我可以看到,在我的 Android Studio 项目的 .git 文件夹中找到的配置文件中有以下设置:
ignorecase = true
[remote "origin"]
url = https://github.com/NrkSensors/Android.git
fetch = +refs/heads/*:refs/remotes/origin/*
[branch]
autosetuprebase = always
[branch "master"]
rebase = true
remote = origin
merge = refs/heads/master
[remote "github"]
url = https://github.com/Muuddz/AndroidApp.git
fetch = +refs/heads/*:refs/remotes/github/*
我想删除它https://github.com/Muuddz/AndroidApp.git 因为这个存储库不存在了。我在 Android Studio 中找不到任何方法来更改它。我应该从文件中删除什么以不损坏任何内容?
【问题讨论】:
-
@VKatz 它通过从文件的行中删除它来工作
标签: android git android-studio