Skip to content

Instantly share code, notes, and snippets.

@jclosure
Last active August 29, 2015 14:18
Show Gist options
  • Save jclosure/fce10e44506cfbb4cc6c to your computer and use it in GitHub Desktop.
Save jclosure/fce10e44506cfbb4cc6c to your computer and use it in GitHub Desktop.
Windows + Emacs + Git push via http and hangs because waiting on password
Workaround to issue with CMD.exe inside emacs not prompting for password when "git push" command is issued.
1. download and run git-credential-winstore.exe - https://gitcredentialstore.codeplex.com
2. add this to the .gitconfig in C:\Users\<youruser> - http://emacs.stackexchange.com/questions/478/magit-push-hangs-on-windows
[credential]
helper = "winstore"
Now when inside emacs, do M-x, shell.
Try pushing through https to github, you'll get a graphical login that allows you to input user/pass.
This works seamlessly in Windows
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment