question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Describe the bug

Renaming a repo to a repo that has previously been renamed causes repos to be merged

Version & OS

Version 2.9.0 (x64) Windows 10

Steps to reproduce the behavior

  1. Set up a repo called foo and a repo called bar on GitHub, and clone these to Desktop
  2. On GitHub, rename foo to foofoo and rename bar to foo.
  3. On GitHub Desktop, go to the foo repo, which will rename itself foofoo
  4. On GitHub Desktop, go to the bar repo, which will rename itself foo, then immediately rename itself foofoo, and associate itself with the foofoo repository.

Expected behavior

The renamed repos should remain independent

Logs

2021-06-22.desktop.production.log

In the log, I renamed RogueRogue-ms, and RoguesRogue. I later renamed this repo Roguey on GitHub and re-checked it out into a new directory, copying changes across, but when I renamed it Rogue again, GitHub Desktop conflated it with the Rogue-ms repo.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:8 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
ms609commented, Sep 1, 2021

Thanks! These instructions has allowed me to untangle my repos and get back to good working order.

1reaction
ms609commented, Jul 13, 2021

@tidy-dev Thanks for the suggestions; after a few restarts, I have found myself with a duplicate entry for each repo; one duplicate still displays the behaviour described above, whilst the other works normally. Clearing “Cache storage” and “Local and session storage” didn’t change anything, but now I’ve got a workable setup I’m hesitant to start clearing more data.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Repository redirects are here! - The GitHub Blog
Repository redirects are here! It's a fact of life - sometimes repository names change. This can happen in a few different types of ......
Read more >
Renaming a repository - GitHub Enterprise Cloud Docs
When you rename a repository, all existing information, with the exception of project site URLs, is automatically redirected to the new name, including:....
Read more >
How to Remove Github Repository Redirects Across Name ...
How to Remove Github Repository Redirects Across Name Changes. A while back, I switched Github usernames so that I could have a formal...
Read more >
git - What does the warning "redirecting to" actually mean?
This is typical of a Git repo URL starting with git:// or http:// , but which is redirected at the server level to...
Read more >
need a forwarder option for renamed repos | Bitbucket Cloud
If we'd deleted the repo it seems we could have forwarded it so it seems a bit ... They'll keep on forwarding to...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found