Why is GitHub not displaying my contributions on the profile activity graph?
Your contributions may not appear if they are on non-default branches, in private repositories, or if they don’t include commits. Check your profile settings and repository details.
GitHub’s activity graph on your profile only records contributions under specific conditions. First, ensure your commits are on the default branch, often 'main' or 'master.' Contributions on other branches will not appear unless they’re merged into the default branch. Additionally, if you’re working in a private repository, verify the repository is set to count private contributions in your profile visibility settings under Settings > Profile > Contributions settings. Note that GitHub defines 'contributions' as changes that are committed directly or merged into the default branch, so non-commit activities like comments or issues won’t show up. Ensuring these conditions will help populate your activity graph accurately.