Git Best Practices

Tips, Tricks and Expert Advice

Clean Up History After Cherry Picking

After you utilize the cherry pick command in Git to move a commit’s changes from one branch to another, make sure to go back and clean up your repo history. Go back and checkout the original branch and do a hard reset on the parent commit. This will remove the duplicate commit.

Additional Resources

Make Git Easier, Safer &
More Powerful

with GitKraken