LEN

Git Failed to connect to gitee.com port 1080: Connection refused
今天提交代码发现很蛋疼的问题git -c diff.mnemonicprefix=false -c core.qu...
扫描右侧二维码阅读全文
28
2017/10

Git Failed to connect to gitee.com port 1080: Connection refused

今天提交代码发现很蛋疼的问题

git -c diff.mnemonicprefix=false -c core.quotepath=false push -v origin master:master
fatal: unable to access 'http://xxx@gitee.com/xx/xx.git/': Failed to connect to gitee.com port 1080: Connection refused
Pushing to http://xxx@gitee.com/xx/xx.git

还有 requery 400 请求拒绝的
我把git 和 sourcetree 都删除了 就是不好使 提交不了代码 只能使用命令行操作.
最后我修改了配置 删除了 user 和 http 等参数

[core]
        repositoryformatversion = 0
        filemode = false
        bare = false
        logallrefupdates = true
        symlinks = false
        ignorecase = true
[remote "origin"]
        url = http://xxx@gitee.com/xxx/xxx.git
        fetch = +refs/heads/*:refs/remotes/origin/*
[branch "master"]
        remote = origin
        merge = refs/heads/master
[branch "dev"]
        remote = origin
        merge = refs/heads/dev
[user]
    name = xxx
最后修改:2019 年 11 月 04 日 11 : 39 PM
如果觉得我的文章对你有用,请随意赞赏

发表评论