解决fatal: No remote repository specified. Please, specify either a URL...
来源:互联网 发布:网络主播怎么招聘 编辑:程序博客网 时间:2024/06/05 18:11
今天在电脑上用Git pull命令来更新本地项目,突然发现出现如标题的错误:
- user ~/c/quhao$git pull
- fatal: No remote repository specified. Please, specify either a URL or a
- remote name from which new revisions should be fetched.
解决方法是从其他项目里拷贝一份config过来,再改一下里面的url就可以了,或者用下面的模板:
- [core]
- repositoryformatversion = 0
- filemode = true
- bare = false
- logallrefupdates = true
- ignorecase = true
- precomposeunicode = false
- [remote "origin"]
- url = https://github.com/CrossLee/xxx.git
- fetch = +refs/heads/*:refs/remotes/origin/*
- pushurl = https://github.com/CrossLee/xxx.git
- [branch "master"]
- remote = origin
- merge = refs/heads/master
- url = https://github.com/CrossLee/xxx.git
- pushurl = https://github.com/CrossLee/xxx.git
0 0
- 解决fatal: No remote repository specified. Please, specify either a URL...
- 解决fatal: No remote repository specified. Please, specify either a URL.
- 解决fatal: No remote repository specified. Please, specify either a URL...
- 解决fatal: No remote repository specified. Please, specify either a URL...
- 解决fatal: No remote repository specified. Please, specify either a URL...
- Git 提示 No remote repository specified. Please, specify either a URL or a remote name from which new
- git No remote repository specified
- ValueError: cannot index a corpus with zero features (you must specify either `num_features` or a no
- git 解决fatal: Not a git repository
- Filter mapping must specify either a <url-pattern> or a <servlet-name>问题的处理
- git Permission denied (publickey). fatal: Could not read from remote repository. Please make sure y
- Git terminal fatal: Could not read from remote repository.Please make sure ....
- ImproperlyConfigured No URL to redirect to. Either provide a url or define a get_absolute_url metho
- git pull 出错 fatal: Could not read from remote repository.Please make sure you have the correct acces
- git pull 出错 fatal: Could not read from remote repository.Please make sure you have the correct acces
- git pull 出错 fatal: Could not read from remote repository.Please make sure you have the correct acces
- git学习笔记(2) -- "fatal: Could not read from remote repository. Please make sure you have the corre"
- Git 解决Bug:fatal: Could not read from remote repository ——诺诺"涂鸦"记忆
- Request与response对象
- L1-040. 最佳情侣身高差
- matlab编程笔记
- Leetcode-103. Binary Tree Zigzag Level Order Traversal
- [BZOJ1717][Usaco2006 Dec]Milk Patterns 产奶的模式(后缀数组)
- 解决fatal: No remote repository specified. Please, specify either a URL...
- 弹跳小球
- 报数游戏,滑动解锁,蓝桥
- 数据挖掘算法之贝叶斯网络
- c语言中全局变量在多个文件中使用
- 523. Continuous Subarray Sum
- Qt5--学习笔记-调用笔记本电脑摄像头
- 提取分块图片的特征
- 近200篇机器学习&深度学习资料分享(含各种文档,视频,源码等)