Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

Git pull issue: where is the URL stored GIT goes for performing his pull requests?

Generally my GIT extensions application is working fine, but when I’m working with a VPN, I get into this problem, while trying to pull my Module-Solution:

"git" pull --rebase --progress "origin"
fatal: unable to access 'http://git.Server_URL/Git_Server/Module-Solution.git/':
Could not resolve host: git.Server_URL
Done

Press Enter or Esc to exit...

This is due to the fact that, while working with a VPN, git.Server_URL is not found.

I would like to know where git.Server_URL is configured and what about the Git_Server?
For your information: while working with git bash I get exactly the same error.

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

>Solution :

You can inspect the configured URLs for your remotes with git remote -v show or get them with git remote get-url and update them with git remote set-url

The configuration is stored in the per-repository configuration file .git/config, see git config.

Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading