add the old snippet md files
This commit is contained in:
parent
fc0dd204c7
commit
bcf8313a4b
110 changed files with 3048 additions and 0 deletions
18
old_snippets/git-trim.en.md
Normal file
18
old_snippets/git-trim.en.md
Normal 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)
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue