I recently made an excessive number of commits to a GitHub repository while editing my github profile. Now, I’d like to remove some of those commits without completely deleting the entire repository. However, I’m concerned about my contribution history.
Is there a way to selectively remove specific commits from the repository while preserving the overall repository structure? I want to ensure that my contributions remain intact but remove the excess commits and those commits contributions.
Any guidance or best practices would be greatly appreciated!
Saad ur Rehman is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
1