#git

avatar

Delete all local git branches in Linux, except for the master or main branch

Working locally may lead to accumulating many git branches, but most of the time, we only want to keep the "main" or "master" branch. To achieve this, run the following command
avatar

Why use git notes?

Git notes offer a powerful way to add extra metadata to commits, providing flexibility to enhance commit history with additional information.