Changing online git repository url in IntelliJ project

13,101

Solution 1

Within IntelliJ go to:

Tools > Terminal Window

And there type:

git remote set-url origin URLHERE

replacing URLHERE with your project git or https address.

Solution 2

Within IntelliJ go to:

VCS > Git > Remotes ...

This will open a dialog box where you can update the origin URL for your online repository.

Share:
13,101
Jaqen K'uba
Author by

Jaqen K'uba

Young padawan constantly resisting front-end, the dark side of the force.

Updated on June 29, 2022

Comments

  • Jaqen K'uba
    Jaqen K'uba almost 2 years

    How can I change online git repository in my IntelliJ project? Project is synchronized with current repository and I push / pull changes from IDE level.