I’m wondering if it’s «safe» to rename a Github repo, from a context and cache standpoint. Will Cursor be able to figure out that I’m still in the same project (and therefore remember what it has picked up on it)?
Thanks in advance!
I’m wondering if it’s «safe» to rename a Github repo, from a context and cache standpoint. Will Cursor be able to figure out that I’m still in the same project (and therefore remember what it has picked up on it)?
Thanks in advance!
Hey, good request. Renaming a repo on GitHub is safe. The Codebase Index and chat history in Cursor are tied to your local project folder, not the GitHub URL, so changing the remote name won’t make Cursor forget anything. After renaming, just update the git remote with git remote set-url origin <new-url>. GitHub will also redirect the old URL for a while.
What to watch out for:
Let me know if anything behaves oddly after the rename.