Git Better @ Cleaning Up & Cherrypicking

Aug 12, 2022·

1 min read

Play this article

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>