-
Type:
Bug
-
Resolution: Unresolved
-
Priority:
Highest
-
None
-
Affects Version/s: 2.6
-
Component/s: None
-
Severity 1 - Critical
I have my Github account configured in SourceTree via SSH.
I have a project with several submodules and every single time that I try to checkout new branches/pull/push submodules I have authentication errors.
I'm prompted with the authentication window attached and tried inputting both my github username and email with both a generated Github's personal access token and with my SSH public key and I always have errors!
I have to fallback and do it via terminal but that's really a pain and a break in my workflow ![]()
One example of an error log that I can get from source tree's output when trying to checkout a new branch with changes in a submodule commit pointer is:
git -c diff.mnemonicprefix=false -c core.quotepath=false -c credential.helper=sourcetree submodule update --init --recursive 2017-08-10 12:18:11.670 SourceTreeLogin[79466:15546243] Encryption password is nil. Cannot save. User cancelled password prompt.Permission denied (publickey). fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists. Unable to fetch in submodule path '(...)'
I believe that, if the SSH account is configured in SourceTree, that should be propagated to every action that I do within it, doesn't matter if it's in a "main module", submodule, whatever.