add the old snippet md files

This commit is contained in:
Travis Shears 2025-06-05 16:20:57 +02:00
parent fc0dd204c7
commit bcf8313a4b
110 changed files with 3048 additions and 0 deletions

View file

@ -0,0 +1,18 @@
---
title: git trim
seo_description: Code snippet showing how to use git-trim
date: 2023-02-23T13:09:31+01:00
draft: false
snippet_types:
- git
---
Easy clean up branches from local that are old or already merged on remote.
```shell
$ git trim -s -p
```
- [source](https://codelawd.hashnode.dev/managing-git-branches-with-git-trim#heading-basic-install)
- [git-trim project](https://github.com/jasonmccreary/git-trim)