Skip to main content

Update the name of your repository

When you create an application, a repository is automatically generated for it based on default naming conventions.

If you later rename that repository in your provider (for example, GitHub), you must update the application’s repository_url in nullplatform to match the new repository path.

If you don’t update it, actions like creating a new build will fail with an error similar to:

error: 'could not get the app: repository: <your-repo-url>'

Updating the repository URL ensures the platform can continue syncing and tracking your application correctly.

Update the repository URL​

Follow these steps to update the repository URL after renaming it in your provider.

  1. Rename the repository in your provider (for example, GitHub).
    For example: https://github.com/acme-corp/billing-api → https://github.com/acme-corp/checking-api

  2. Update the repository URL using the Application API to match the new URL.

np application patch
--id 123
--body '{
"repository_url": "https://github.com/crypto-inc/accounting-checking-api"
}'
Keep your repository in sync

Ensure the repository_url value exactly matches your new repository location. This allows nullplatform to continue tracking commits, linking builds, and maintaining a proper connection with your source code.