You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What did you expect to occur after running these commands?
Repo cloned.
What actually happened instead?
Cloning into 'Repo'...
hostname contains invalid characters
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
This works in CMD and PowerShell.
This results in same error: git clone 'domain\user@gitserver:/srv/git/Repo.git'
This results in invalid domain\username: git clone domain\user@gitserver:/srv/git/Repo.git
$ git pull
hostname contains invalid characters
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
Maybe the same happens with clone.
The text was updated successfully, but these errors were encountered:
I'm having problems using Git Bash git over ssh with a domain\user username.
Setup
64
defaults?
to the issue you're seeing?
Details
Bash
Minimal, Complete, and Verifiable example
this will help us understand the issue.
Repo cloned.
This works in CMD and PowerShell.
This results in same error:
git clone 'domain\user@gitserver:/srv/git/Repo.git'
This results in invalid domain\username:
git clone domain\user@gitserver:/srv/git/Repo.git
Like
No backslash in domainuser.
This works:
' ' or \\ should work with clone.
If I on cloned repo do
the /srv part expands to C:\Program Files\Git\srv:
Both with ' ' and \\
Which results in:
Maybe the same happens with clone.
The text was updated successfully, but these errors were encountered: