Help
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Copilot Lvl 2
Message 1 of 3

Rename a repository in GitHub Desktop for Mac

Solved! Go to Solution.

Can I rename a repository without renaming the folder in which it resides? (I'm using GitHub Desktop version 2.1.0 on macOS.)

 

I can create two repositories, both named "abc", which are located at, for example, ~/wxyz/abc and ~/mno/pqr/stu/abc. I can see them in GitHub Desktop, both are named "abc".

 

I would like to be able to distinguish between the two of them in GitHub Desktop by having one named "abc in wxyz" and the other named "abc in stu" (or "abc-in-wxyz" and "abc-in-stu" or similar) without renaming the folders themselves. Is that possible?

 

If it can't be done in GitHub Desktop, can it be done using the command line? This isn't something I'd do very often, so either would be OK with me.

2 Replies
Solution
GitHub Staff
Message 2 of 3

Re: Rename a repository in GitHub Desktop for Mac

Thanks for the request @jkbullard. Unfortunately at this time there is not a great way to differentiate between multiple repositories with the same name in GitHub Desktop short of renaming the local folder. We've been working on improving repository organization in https://github.com/desktop/desktop/issues/6460 -- there is a lot of discussion and feedback in that thread you can read through. Please feel free to add any additional feedback that you have there.

Highlighted
Copilot Lvl 2
Message 3 of 3

Re: Rename a repository in GitHub Desktop for Mac

Thanks, @steveward.