How to Capitalize the first letter of existing Git

2019-03-05 18:53发布

Situation is:

Currently, I have a repository name phimpme-iOS. I want to capitalize the first letter of the repository, Phimpme-iOS.

When I change the name in Settings > Options > Repository Name, it cannot be changed and it is showing -

The repository Phimpme-iOS already exists on this account

enter image description here

2条回答
爱情/是我丢掉的垃圾
2楼-- · 2019-03-05 19:22

Rename your repository to something completely different (e.g. "foo") and then name it back to the original name with the desired capitalization.

查看更多
祖国的老花朵
3楼-- · 2019-03-05 19:35

User names and repository names are case-insensitive at Github: phimpme-iOS is the same as Phimpme-iOS; that is, from Github PoV you're trying to rename the repo to an equivalent name.

Try a completely different name — xxx, for example — and then rename it once more to Phimpme-iOS.

查看更多
登录 后发表回答