Git clone error - could not read Password
Platform Notice: Data Center Only - This article only applies to Atlassian products on the Data Center platform.
Note that this KB was created for the Data Center version of the product. Data Center KBs for non-Data-Center-specific features may also work for Server versions of the product, however they have not been tested. Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.
*Except Fisheye and Crucible
Symptoms
When trying to git clone
from msysgit using http, the following error is thrown:
1
could not read Password for 'http://user@server:7990': No such file or directory
Cause
This is caused by a bug for this exact version 1.8.5.2 of msysgit. Please refer to the discussion and links below:
http://stackoverflow.com/questions/20882088/cant-push-after-git-update
It is a bug in 1.8.5.2 msysgit (1.8.5.2-preview20131230). See the report and a discussion with a way to workaround
Resolution
Workaround:
Cloning using SSH with the same version of msysgit works just fine.
Solution:
Please upgrade your msysgit version and retry the clone.
Was this helpful?