Enhance Your Git Skills: Mastering Cleanup and Cherry-Picking
Streamline Your Repository and Pick Your Commits Wisely
Photo by Praveen Thirumurugan on Unsplash
Let's learn how to clean up and maintain your git repo
- Git Clean: Cleans the working tree by recursively removing files
git clean [--dry-run]
- Git CherryPick: Apply the changes introduced by some existing commits
git cherry-pick <SHA-ID>