Beginner·
5 mins
How to Enable Private Contribution Visibility on GitHub
If you sync to a private repository, GitHub hides those commits by default. Learn how to toggle private contributions in your GitHub profile settings and verify them with our Health Engine.
🎥 Watch Video Guide • Live Setup WalkthroughFull HD
Step 1 of 4GitHub Health
Step 1: Open Your GitHub Profile
Go to your public GitHub profile page (`https://github.com/your-username`).
Example Snippet
// Verification GraphQL query run by SyncGraph Health Engine
query($username: String!, $from: DateTime!, $to: DateTime!) {
user(login: $username) {
contributionsCollection(from: $from, to: $to) {
hasAnyRestrictedContributions
restrictedContributionsCount
}
}
}