Переименование репозитория
Вы можете переименовать любой репозиторий, если вы являетесь владельцем организации или имеете права администратора для репозитория.
When you rename a repository, all existing information, with the exception of project site URLs, is automatically redirected to the new name, including:
For more information on project sites, see «About GitHub Pages.»
In addition to redirecting web traffic, all git clone , git fetch , or git push operations targeting the previous location will continue to function as if made on the new location. However, to reduce confusion, we strongly recommend updating any existing local clones to point to the new repository URL. You can do this by using git remote on the command line:
git remote set-url origin NEW_URL
Note: GitHub will not redirect calls to an action hosted by a renamed repository. Any workflow that uses that action will fail with the error repository not found . Instead, create a new repository and action with the new name and archive the old repository. For more information, see «Archiving repositories.»
Warning: If you create a new repository under your account in the future, do not reuse the original name of the renamed repository. If you do, redirects to the renamed repository will no longer work.
- On your GitHub Enterprise Server instance, navigate to the main page of the repository.
- Under your repository name, click
Settings. If you cannot see the «Settings» tab, select the

dropdown menu, then click Settings.
Как переименовать репозиторий?
Можно ли переименовать репозиторий в который уже загружены данные? Если да то как? Под репозиторием я понимаю когда заходишь в свой аккаунт и там вкладки:
Overview Repositories 1 Stars 1 Followers 0 Following 0
И когда нажимаешь на Repositories там список репозиториев, который через $ git init инициализируем на локальной машине.
Отслеживать
33.9k 25 25 золотых знаков 130 130 серебряных знаков 222 222 бронзовых знака
задан 27 апр 2017 в 18:22
5,267 11 11 золотых знаков 56 56 серебряных знаков 115 115 бронзовых знаков
Что именно вы хотите переименовать? Локальный репозиторий или remote?
27 апр 2017 в 18:25
каталог, в котором располагается рабочая копия файлов, вполне можно переименовать. это же просто каталог.
Переименование репозитория
Вы можете переименовать любой репозиторий, если вы являетесь владельцем организации или имеете права администратора для репозитория.
When you rename a repository, all existing information, with the exception of project site URLs, is automatically redirected to the new name, including:
For more information on project sites, see «About GitHub Pages.»
In addition to redirecting web traffic, all git clone , git fetch , or git push operations targeting the previous location will continue to function as if made on the new location. However, to reduce confusion, we strongly recommend updating any existing local clones to point to the new repository URL. You can do this by using git remote on the command line:
git remote set-url origin NEW_URL
If you plan to rename a repository that has a GitHub Pages site, we recommend using a custom domain for your site. This ensures that the site’s URL isn’t impacted by renaming the repository. For more information, see «About custom domains and GitHub Pages.»
Note: GitHub will not redirect calls to an action hosted by a renamed repository. Any workflow that uses that action will fail with the error repository not found . Instead, create a new repository and action with the new name and archive the old repository. For more information, see «Archiving repositories.»
Warning: If you create a new repository under your account in the future, do not reuse the original name of the renamed repository. If you do, redirects to the renamed repository will no longer work.
- On GitHub.com, navigate to the main page of the repository.
- Under your repository name, click
Settings. If you cannot see the «Settings» tab, select the

dropdown menu, then click Settings.
Как переименовать репозиторий в gitlab?
Как переименовать проект, я нашел.
Но ссылка на репозиторий не меняется.
Было название проекта и репозитория одинаковые: test
Я переименовал проект на test-admin, но сама ссылка не поменялась.
Неужели нужно создавать новый репозиторий?
- Вопрос задан более года назад
- 1300 просмотров
Комментировать
Решения вопроса 1
Алексей Уколов @alexey-m-ukolov
Settings -> General -> Advanced -> Change path
Ответ написан более года назад
Нравится 3 1 комментарий
lexstile @lexstile Автор вопроса
Ответы на вопрос 0
Ваш ответ на вопрос
Войдите, чтобы написать ответ

- GitLab
Как подключиться удаленно к gitlab runner?
- 1 подписчик
- 20 окт.
- 36 просмотров

- Linux
- +1 ещё
Как передать скрипту в screen нажатие space для завершения?
- 1 подписчик
- 03 окт.
- 75 просмотров