D
D
Damir Shaniyazov2021-04-20 11:55:54
git
Damir Shaniyazov, 2021-04-20 11:55:54

How to escape characters in git bash?

Good afternoon! Installed Git with Git Bash on Windows 10. I'm trying to clone the repository (in a regular console), they give an error 407, it seems that the proxy is configured correctly, but it still gives an error 407

git config --global http.proxy "http://домен\пользователь:пароль@сервер:порт"

then I decided to enter into git bash, and there the backslash is not escaped correctly, then it is not there, then it is in the other direction

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vladimir Kuts, 2021-04-20
@fox_12

Have you tried this option?

git config --global http.proxy "http://домен\\пользователь:пароль@сервер:порт"

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question