Skip to main content

Best practices for leaving your company

If you use your account on GitHub Enterprise Cloud for both personal and work purposes, there are a few things to keep in mind when you leave your company or organization.

Before you leave your company, make sure you update the following information in your personal account:

Leaving organizations

If you've been working with repositories that belong to an organization, you'll want to remove yourself as a member of the organization. Note that if you are the organization owner, you should first transfer ownership of the organization to another person.

Unless you're using a managed user account, you'll still be able to access your personal account, even after leaving the organization. For more information about Enterprise Managed Users, see "About Enterprise Managed Users."

Removing professional associations with personal repositories

If you've been collaborating professionally with another person on repositories that belong to their personal account, you'll want to remove yourself as a collaborator from those repositories.

rm -rf WORK_DIRECTORY