I have created several repositories in GitLab.Now I want to rename or remove repository. How can I do this? is there any API available? or is there any git command available for this?
To rename a repository on GitLab:
GitLab latest (Tested version V16.8.X)
To rename repository and remote URL, Go to relevant project,
Setting -> General -> Project name -> Edit the project name ->
Save changesSetting -> General -> Project name -> Advanced -> Change path -> Edit the path -> Change pathThis will changed the remote repository and need to update local repository.
git remote set-url origin <new-url>git remote -vIf you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With