Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Git 2.x Not Working #663

Closed
alvin-nt opened this issue Jan 28, 2016 · 2 comments
Closed

Git 2.x Not Working #663

alvin-nt opened this issue Jan 28, 2016 · 2 comments

Comments

@alvin-nt
Copy link
Contributor

I tried to upgrade to Git 2.x (was using git at version 1.9). However, after git was upgraded, the git commands related to remote (e.g. git push, git clone) do not work.

Steps to reproduce:

  1. scoop update git
  2. Set the envvar, as mentioned in the post-installation notes. Also tried to set the envvars manually, both at system scope and user scope
  3. Commands not working. git just exits without any prompt or error messages.

Notes:

  • When executing $?, PowerShell prints True.
  • Changing GIT_SSH envvar to plink.exe (ssh from putty) does not work either.
  • When I try to execute git from cmd, it prints out an error related to SSL_CTX_set_alpn_protos.
  • I tried to uninstall and reinstall git and openssh both locally and globally (w/ sudo scoop install -g git). Still no effect.
  • I can confirm that the same thing also affects git-with-openssh bucket.

I am using Windows 10 64-bit.

Possibly related issue: #638

@lukesampson
Copy link
Member

Yeah I haven't been able to get the latest git working with SSH either. I stuck with the git19 install until recently because it did work, and then I just abandoned using SSH with Git and switched to HTTPS instead.

We ended up reverting #638 because the new Microsoft OpenSSH seemed a bit flakey, so I don't think that'd be the problem. Maybe check scoop list openssh to make sure you're on v5.x instead of v7.x.

Maybe someone else here has ideas about how to fix it. Otherwise scoop install git19 or switching to HTTPS might be options.

@alvin-nt
Copy link
Contributor Author

I already tried the 5.x OpenSSH, still not working. Besides, I also tried to clone a public HTTPS repo from Github. The clone command is also not working.

As what @lukesampson suggested, currently I'm using git19, since I need git for my daily routine.

In the meantime, I suggest to keep this issue open.

@r15ch13 r15ch13 closed this as completed May 16, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants