Connect to a Different GitHub Account

When creating or opening a project, all team members log in to GitHub using the account that has access to the repos that your team wants to use with DevOps Center. If you or a team member logged in with the incorrect GitHub account, a team member with Salesforce admin privileges can delete the authorization information so you or the team member can log in using the proper credentials.

If you’re using DevOps Center and don’t have a Lightning Experience tab opened, click the Home icon.

  1. From Setup, enter Named Credentials in the Quick Find box, then select Named Credentials.
  2. Click DevOps Center GitHub.
  3. Under External Data User Authentications, delete the record for the affected user.

When you or the team member returns to DevOps Center and opens the project, this message appears:

Background sync is attempting to run but requires you to log in to the source control 
system to continue. Log in...

Click Log in, click Connect to GitHub, and then proceed to log in with the proper GitHub account.