How to Transfer a Connected GitHub Repository to an Organization

Last updated: February 6, 2026

If you need to transfer a GitHub repository that's connected to Porter from a personal account to an organization, follow these steps to ensure a smooth transition:

Steps to Transfer Your Repository

  1. Transfer the repository on GitHub from your personal account to the organization.

  2. Grant Porter access to the repository in the organization settings.

  3. Perform an empty push to the transferred repository.

An empty push is necessary to trigger Porter to recognize the repository transfer and update its internal references.

How to Perform an Empty Push

To perform an empty push, you can use the following Git commands:

git commit --allow-empty -m "Trigger Porter update after repo transfer"
git push origin main

Replace main with your default branch name if it's different.

Verifying the Transfer

After completing these steps, verify in your Porter dashboard that the repository is correctly linked to your organization by checking that the empty commit push generated a build and a deploy under the Activity tab.