将项目部署上线时出现
git pull
fatal: No remote repository specified. Please, specify either a URL or a
remote name from which new revisions should be fetched.
先git init 初始化
在到git的这个文件里找到config
配置里面的
[core]
repositoryformatversion = 0
filemode = true
bare = false
logallrefupdates = true
precomposeunicode = false
[remote "origin"]
url =https://gitee.com/xxxx/xxx.git
fetch = +refs/heads/*:refs/remotes/origin/*
pushurl =https://gitee.com/xxxx/xxx.git
[branch "master"]
remote = origin
merge = refs/heads/master
保存即可
如整合期间有遇到什么问题 可以加群 858507220 一起讨论哦。