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)
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.
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.
try
git remote show origin
it will show the URL or the remote repo
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With