Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can I change github repo name from uppercase to lowercase without losing link target?

As title says, is it possible to rename a github repo like fooBar-for-MySQL-and-PHP to foobar-for-mysql-and-php without killing the link to your repo ? And have there been any issues with common git tools ?

To make this clearer: This question is not about renaming and losing watchers, starrers and forks, it's about changing from uppercase to lowercase, which might have effects like "URL not found". I have too much starrers & forks to simply try this out.

Github's official help section does not note this case (https://help.github.com/).

like image 419
Sliq Avatar asked Apr 21 '13 09:04

Sliq


People also ask

Should repo names be lowercase?

Repository NamesUse only lower case alphanumeric characters. Use '-' rather than spaces or underscores.

What happens if I change GitHub repo name?

One concern many users have is that the renaming of a GitHub repository will cause problems with Git clone, push, pull, and fetch operations, as the GitHub URL is changed, and that often leads to a repository not found error.

Can you edit the name of a GitHub repo?

On GitHub.com, navigate to the main page of the repository. Under your repository name, click Settings. Under the Repository Name heading, type the new name of your repository. Click Rename.

Are Git repo names case sensitive?

Git was built originally to be the Linux kernel's version control system, so unsurprisingly, it's case-sensitive.


1 Answers

For the repo page, it is no problem

http://github.com/svnpenn/BM

However for the "Github Pages" page, big problem

http://svnpenn.github.io/BM
404
There isn't a GitHub Page here.
Are you trying to publish one? We'll send you an email when your page has been 
built. It may take up to ten minutes until your page is available. 

To conclude, do not do it.

like image 147
Zombo Avatar answered Sep 22 '22 14:09

Zombo