I have a repository that has a remote to azure-devops.
I have to go through a proxy if that matters, but that's setup and working correctly. I don't think this will be an issue for this question.
You can add a token to the remote url (in the form of https://user:pat@dev.azure.com/...), which I do because copy-n-pasting the pat every single time is annoying.
When pushing or pulling, the full url is displayed.
$ git push azure dev
Counting objects: 3, done.
Delta compression using up to 12 threads.
Compressing objects: 100% (2/2), done.
Writing objects: 100% (2/2), 279 bytes | 0 bytes/s, done.
Total 2 (delta 1), reused 0 (delta 0)
remote: Analyzing objects... (2/2) (163 ms)
remote: Storing packfile... done (177 ms)
remote: Storing index... done (31 ms)
To https://user:mypat@dev.azure.com/user/path/to/repo <<<---
b20e4fd..b1772a1 dev -> dev
How can I suppress the 'To https...' line?
Edit: This is not a duplicate, because that answer changes authentication protocol to ssh keys. Because I have to use a proxy (see second paragraph) I can't use ssh keys.