# How do I change my app's GitHub repository on App Platform? You can change an app’s source repository by updating the [app’s spec](https://docs.digitalocean.com/products/app-platform/reference/app-spec/index.html.md). In the app’s spec file, you can update the `repo` value nested in the `github` block with the name of your new repository. For specific instructions on how to do this, see [How to Manage an App’s Source Repository](https://docs.digitalocean.com/products/app-platform/how-to/manage-source-repo/index.html.md). ## Related Topics [How do I fix the error "Record is managed by an App on this account, and cannot be deleted"?](https://docs.digitalocean.com/support/how-do-i-fix-the-error-record-is-managed-by-an-app-on-this-account-and-cannot-be-deleted/index.html.md): Use the app’s Settings tab to remove domains associated with App Platform apps. [Why do I get the error “JavaScript heap out of memory” during deployment?](https://docs.digitalocean.com/support/why-do-i-get-the-error-javascript-heap-out-of-memory-during-deployment/index.html.md): Increase the heap memory by setting the environment variable NODE\_OPTIONS=–max-old-space-size=4096. [How do I fix a "permission denied for schema public" error in my dev database?](https://docs.digitalocean.com/support/how-do-i-fix-a-permission-denied-for-schema-public-error-in-my-dev-database/index.html.md): Delete the existing dev database and create a new one. Then make sure that the app deployment completes successfully.