Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I see my git remote url?

I'm sure this is a very silly question, but I searched here and online and couldn't find an answer. I have a project setup in intellij to some git server, I just want to see the details (e.g. to send to someone else the URL so they can clone etc...) how do I simply display the current project's git remote settings within Intellij IDEA, not using the command line? (version 14)

Or do I have to go to the command line for that? (I know how to do it in the git command line)

like image 673
Eran Medan Avatar asked Dec 08 '14 21:12

Eran Medan


People also ask

What is remote URL in git?

Git remote is an important part of Git, a tool that provides an easy-to-use system for tracking changes in source code during software development. With Git, you can save the state of your code at regular intervals (determined by you). Git is available for Windows, Mac OS, and Linux.

What is git remote add name URL?

To add a new remote, use the git remote add command on the terminal, in the directory your repository is stored at. The git remote add command takes two arguments: A unique remote name, for example, “my_awesome_new_remote_repo” A remote URL, which you can find on the Source sub-tab of your Git repo.


2 Answers

try

git remote show origin 

it will show the URL or the remote repo

like image 53
Jaiwo99 Avatar answered Sep 30 '22 21:09

Jaiwo99


In WebStorm (almost same GUI like IntelliJ) it is done by clicking (Main menu) ->VCS->Git->Pull...

there you have the Remote url in the dialog window that appears.

like image 28
SeDav Avatar answered Sep 30 '22 23:09

SeDav