Skip to content


fetch ignores hub.protocol #112

greenrd opened this Issue · 3 comments

2 participants

robin@LT9766:~/git/sbt-extras$ cat ~/.gitconfig 
        protocol = https
robin@LT9766:~/git/sbt-extras$ git fetch leedm777[0:]: errno=Connection refused
fatal: unable to connect a socket (Connection refused)


sed -i -e 's|git:|https:|g' .git/config
@mislav mislav closed this in a315222
GitHub member

I've just added a test that shows that even fetch listens to 'hub.protocol'. Maybe you had "leedm777" remote from before? Try deleting the remote and adding it again with fetch. Then check:

grep leedm777 .git/config

Yeah, that was it, sorry.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.