Recientemente reinstalé windows y obtuve la última versión de git. Creé un nuevo repository en Bitbucket y corrí
git remote add origin https://MYUSERNAME@bitbucket.org/MYUSERNAME/test.git
entonces corrí
git push -u origin --all
sin embargo, esto me dio el error
fatal: could not read Password for 'https://MYUSERNAME@bitbucket.org': No such file or directory
antes solo me pedía un nombre de usuario y una contraseña, y el push funcionaba bien. Intenté volver a Git 1.7.11 pero esto no hizo nada.
Lo que hice fue cambiar el protocolo de HTTPS a GIT.
Siguió las instrucciones para configurar SSH aquí: https://confluence.atlassian.com/display/BITBUCKET/Set+up+SSH+for+Git
(fácil desde la console de GitBash, no necesita instalar SSH o nada , todo viene con Git)
Después de completar la configuration SSH, simplemente vuelva a agregar el control remoto con git @ bitbucket …. url y listo.
Espero que esto ayude.
He instalado Git versión 1.8.5.2-preview20131230
Lo resolví agregando mi contraseña en la url.
En lugar de:
git remote add origin https://MYUSERNAME@bitbucket.org/MYUSERNAME/test.git
Solía:
git remote add origin https://MYUSERNAME:PASSWORD@bitbucket.org/MYUSERNAME/test.git
Obtuve este error cuando git actualizado a 1.8.5.2. Cuando rodé git a la versión 1.7.10 (versión inicial), el error desapareció.
Como realmente necesitaba usar HTTPS en lugar de SSH (limitaciones de proxy), lo resolví configurando la push url
remota en la url de HTTPS de la siguiente manera:
git remote set-url --push origin https://MYUSERNAME@bitbucket.org/MYUSERNAME/test.git
git versión 1.9.5
Yo tuve el mismo problema. La installation de Git 1.9.0 me lo resolvió.
Lo resolví agregando mi key ssh al repository y usando la url ssh
Si experimenta este problema usando GitExtensions, esto podría ayudarlo a:
GitExt -> Herramientas -> Configuración -> SSH -> Configurar cnetworkingencial de ayuda de Git -> Sugerir
Eso llenó el campo de command con:
!"C:\Program Files (x86)\GitExtensions\GitCnetworkingentialWinStore\git-cnetworkingential-winstore.exe"