1GIT-DELETE-SQUASHED-BRANCHES(1) Git Extras GIT-DELETE-SQUASHED-BRANCHES(1)
2
3
4
6 git-delete-squashed-branches - Delete branches that were squashed
7
9 git-delete-squashed-branches [<branch-name>]
10
12 Deletes all git branches that have been "squash-merged" into
13 branch-name.
14
16 <branch-name>
17
18 The target branch were the "squashed-merged" branches were committed
19 to. If no value is given, then the current checked out branch will be
20 used.
21
23 Delete all branches that were "squash-merged" into the current checked
24 out branch.
25
26
27
28 $ git delete-squashed-branches
29
30
31
32 Delete all branches that were "squash-merged" into the main branch.
33 This will checkout the target branch and leave you on said branch after
34 the command has completed.
35
36
37
38 $ git delete-squashed-branches main
39
40
41
43 Written by Teddy Katz <teddy.katz@gmail.com> and Vladimir Jimenez
44 <me@allejo.io>
45
47 <https://github.com/tj/git-extras/issues>
48
50 <https://github.com/tj/git-extras>
51
52
53
54 May 2021 GIT-DELETE-SQUASHED-BRANCHES(1)