Where do you set the address for a git repository in Intellij 2019

Answered

I get a repository not found because I changed what it pointed my project to at some point, I guess.

2 comments
Comment actions Permalink

Check this settings page:

0
Comment actions Permalink

It has an entry that points to my project folder, but I don't think that is where I need to make the change.  I did find a file called "Config" in the ".git" folder in my project folder, though, which had an "origin" url defined in it.  I made the modification there and it fixed it.

Here's an example of the line:

[remote "origin"]
     url = https://github.com/myGitHubName/myProjectName/
     fetch = +refs/heads/*:refs/remotes/origin/*

I had to modify this line:   https://github.com/myGitHubName/myProjectName/

Thank you.

 

 

0

Please sign in to leave a comment.