Skip to content

Fail to change the remote URL. #143146

Discussion options

You must be logged in to vote

It looks like you're facing issues with changing the remote URL for your GitHub repository. Here’s a step-by-step approach to resolve this:

Steps to Fix Remote URL Issues

  1. Check Current Remote URL: Start by verifying the current remote URL in your terminal:

    git remote -v

    This will list all remote URLs associated with your repository.

  2. Change Remote URL Using Terminal: Since you've attempted this already, ensure you run the command correctly:

    git remote set-url origin https://github.com/youyungui/My-Knowledge-System.git

    After running this command, double-check with git remote -v to confirm the change.

  3. Edit .git/config File: If the terminal command didn’t work, you might have already ed…

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@youyungui
Comment options

@SyedAliJunaidSherazi
Comment options

@youyungui
Comment options

@SyedAliJunaidSherazi
Comment options

Answer selected by youyungui
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Repositories The core of version-controlled code storage General
2 participants