You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It delete all merged branches in the master|main|dev branches.
11
+
12
+
---
13
+
14
+
### Remove old branches
2
15
3
16
The script deletes old remote and local branches of your git-repository in interactive mode
4
17
5
-
## Usage
18
+
####Usage
6
19
7
-
### Linux
20
+
#####Linux
8
21
Just run script.sh
9
22
~~~~
10
23
./script.sh
@@ -22,19 +35,19 @@ exit
22
35
Exited
23
36
~~~~
24
37
25
-
### Mac OS / Windows
38
+
#####Mac OS / Windows
26
39
Use **Docker** and run as in Linux
27
40
28
41
~~~~
29
42
docker run -v $(pwd):/app frops/git_remove_branches ./script.sh -m 12
30
43
~~~~
31
44
32
-
#### Params
45
+
#####Params
33
46
`-m|--month` – age of making branches in the months you want to delete
34
47
35
48
`-f|--force` – the force mode, in which branches are deleted without confirmation. Please, be careful. I'am not recomended use this command. Use it in exceptional cases!
0 commit comments