I have a local repository (has a local remote-origin file://<remote>
).
How do I change the displayed name of this repository in the Github desktop
app without having to rename the repository directory name.
Problem is: C:\Project1\Website
& C:\Project2\Website
- both show up as Website
I want to refrain from having to have: C:\Project1\Project1-Website
I set the .git\description
file - did not work.
I set the remote origin URL
to <path>\Project-Website.git
- did not work.
I tried git clone <path>\Project-Website.git Project-Website
- did not work.
This is the mess that it causes:
How do I change the displayed name of this repository in the GitHub desktop app without having to rename the repository directory name?
You would need to upgrade GitHub Desktop to its latest revision 2.8 (Apr. 2021):
Create aliases for repositories locally
Many developers keep more than one copy of a repository in GitHub Desktop, and the way repositories are displayed makes it tricky to differentiate between them.
In GitHub Desktop 2.8, you can create aliases for your local repositories to easily tell them apart in the list.