How to block suggestions matching public code in GitHub
Here is how to block suggestions matching public code in github
- First click on your profile picture in the top-right corner of the header
- Next click on "Settings" in the dropdown menu
- Click on "Copilot" in the left sidebar under "Code, planning, and automation" section
- Click on "Features" in the Copilot submenu
- Locate the "Suggestions matching public code" option under the Privacy section
- Then click on the dropdown button next to it
- Finally select "Blocked" option from the dropdown menu
Why should you block suggestions matching public code in GitHub
GitHub is a leading platform for hosting and sharing code repositories, enabling collaboration among developers worldwide.
One useful feature on GitHub is the ability to block suggestions that match public code, enhancing the security and originality of your projects.
By filtering out these recommendations, developers can maintain the integrity of their private code and avoid inadvertently replicating publicly available solutions, thus fostering innovation and protecting their hard work.
Last update





