Gitkraken malformed url on pull
Gitkraken creates a malformed url when doing a pull edits to remote urls by adding a username and also appends ".git" to the end of the url making it malformed. Our remote repository urls don't have a ".git" on the end.
Example (no username or .git on the url for our Azure DevOps repos):
git remote -v
origin ssh://example.company.net/CollectionName/AppName/_git/repository.name (fetch)
origin ssh://example.company.net/CollectionName/AppName/_git/repository.name (push)
The moment any developer does a pull in Gitkraken it then asks for a username with a "Submit" button. Once that is done on the first one it says successful. Then after that, the next pull gives the error:
Pull Failed
malformed URL
If we look at the remote list again. Now it has been edited and adds a username and ".git" to the end making it invalid
git remote -v
origin ssh://username@example.company.net/CollectionName/AppName/_git/repository.name.git (fetch)
origin ssh://username@example.company.net/CollectionName/AppName/_git/repository.name.git (push)
question from:
https://stackoverflow.com/questions/65941743/gitkraken-malformed-url-on-pull-gitkraken-edits-the-remote-url-and-puts-git 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…