Plans & Pricing Support Login

Knowledge Base

Find answers to commonly asked questions here.

Rename or Remove a Repository

You can rename your repository at any moment. For example, if you have finished development, you may want to change the repository name from website-dev to website to avoid confusion. Go to Websites&Domains > Git, click Repository Settings, and enter a new name in the Repository name field.

Note that after renaming the repository, you should configure your local repository to work with the new repository URL, using the command:

git remote set-url origin [new URL]

For example, if you rename the repository from example to example1, run the command:

git remote set-url origin user1@example.com:~/repos/example1.git

If you want to remove the repository, click the Remove Repository link at Websites&Domains > Git. In this case, Plesk will remove just the repository; the target directory with the published data will remain as it is.