在AndroidStudio上传项目到github出现“fatal: remote github already exists”的解决方法
来源:互联网 发布:php扩展开发教程 语法 编辑:程序博客网 时间:2024/05/16 02:47
今天把github中的一个仓库删除,准备通过AndroidStudio重新上传该项目,但是在上传的过程中出现了“fatal: remote github already exists”错误,谷歌许久终于找到解决方法。
解决方法:
关闭Android Studio,进入电脑中你要上传的那个项目的目录,开启“显示隐藏文件”的功能,就能看到隐藏的文件夹/.git ,打开其中的config文件,删除类似于下面格式的三行:
[remote "origin"]url = https://github.com/haoge728/CloudMusic.gitfetch = +refs/heads/*:refs/remotes/origin/*
然后保存config文件。重新打开Android Studio,点击“Share project on GitHub”上传项目到github,就不会有“ project is already on GitHub ”或者“fatal: remote github already exists”的错误提示了。
阅读全文
0 0
- 在AndroidStudio上传项目到github出现“fatal: remote github already exists”的解决方法
- github推送项目常见错误fatal: remote origin already exists.
- Github “fatal: remote origin already exists” 解决办法
- Github “fatal: remote origin already exists”错误
- github提示:fatal:remote origin already exists
- git新建项目第一次上传的时候出现 错误提示:fatal: remote origin already exists.
- GitHub for windows出现remote origin already exists问题
- androidStudio上传项目到github
- git出现 fatal: remote origin already exists.
- github中在本地进行上传的时候出现ERROR: Repository not found. fatal: The remote end hung up unexpectedly
- GitHub常见操作和常见错误(fatal:remote origin already exists)(fatal: Couldn't find remote ref master)
- github常见操作和常见错误!错误提示:fatal: remote origin already exists.
- github常见操作和常见错误!错误提示:fatal: remote origin already exists.
- github常见操作和常见错误!错误提示:fatal: remote origin already exists.
- github常见操作和常见错误!错误提示:fatal: remote origin already exists.
- github常见操作和常见错误!错误提示:fatal: remote origin already exists.
- github常见操作和常见错误!错误提示:fatal: remote origin already exists.
- github常见操作和常见错误!错误提示:fatal: remote origin already exists.
- JS页面后退并刷新
- python函数式编程之返回函数
- 使用soapui +apache cxf 生成java 访问webservice 代码
- Ajax是神魔
- Android数据库操作的简单封装
- 在AndroidStudio上传项目到github出现“fatal: remote github already exists”的解决方法
- 摄像机几何学(一)
- LeetCode -- 62. Unique Paths
- 服务器的使用
- SQL Server-外部联接基础
- 主题切换css
- bnu1207 滑雪
- 有504只个股平均每笔成交量环比增加
- “比特币”勒索病毒你中招了吗?项目还是提交远程仓库保险