Report this

What is the reason for this report?

How to check the remote origin URL of a local Git repository?

Posted on January 18, 2021

Hi all,

Does anyone have a command on hand which could show the remote URL of a specific local git repository?

I usually use the cat command to check the content of the .git/config and look for the remote origin section in there.

But is there a better way of doing this?

Thanks!

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Start building today

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.