Skip to main content

Command Palette

Search for a command to run...

Enhance Your Git Skills: Mastering Cleanup and Cherry-Picking

Streamline Your Repository and Pick Your Commits Wisely

Updated
1 min read
Enhance Your Git Skills: Mastering Cleanup and Cherry-Picking
J

I am Senior Test Automation Engineer, who is interested in Open Source & Quality at scale.

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>

Using Git Better

Part 2 of 5

In this series, I will show how to setup and use Git better. By engaging with my posts, you'll elevate your Git proficiency to a new level.

Up next

Using Git Better - Part 2

Let's learn how to view git commit history better