| 
1 |  | -.\" generated with Ronn/v0.7.3  | 
2 |  | -.\" http://github.com/rtomayko/ronn/tree/0.7.3  | 
3 |  | -.  | 
4 |  | -.TH "GIT\-BULK" "1" "August 2020" "" "Git Extras"  | 
5 |  | -.  | 
 | 1 | +.\" generated with Ronn-NG/v0.9.1  | 
 | 2 | +.\" http://github.com/apjanke/ronn-ng/tree/0.9.1  | 
 | 3 | +.TH "GIT\-BULK" "1" "September 2024" "" "Git Extras"  | 
6 | 4 | .SH "NAME"  | 
7 | 5 | \fBgit\-bulk\fR \- Run git commands on multiple repositories  | 
8 |  | -.  | 
9 | 6 | .SH "SYNOPSIS"  | 
10 |  | -git bulk [\-g] ([\-a]|[\-w <ws\-name>]) <git command>  | 
11 |  | -.  | 
 | 7 | +\fBgit\-bulk\fR [\-g] ([\-a]|[\-w  | 
12 | 8 | .br  | 
13 |  | -git bulk \-\-addworkspace <ws\-name> <ws\-root\-directory> (\-\-from <URL or file>)  | 
14 |  | -.  | 
 | 9 | +\fBgit\-bulk\fR \-\-addworkspace  | 
15 | 10 | .br  | 
16 |  | -git bulk \-\-removeworkspace <ws\-name>  | 
17 |  | -.  | 
 | 11 | +\fBgit\-bulk\fR \-\-removeworkspace <ws\-name>  | 
18 | 12 | .br  | 
19 |  | -git bulk \-\-addcurrent <ws\-name>  | 
20 |  | -.  | 
 | 13 | +\fBgit\-bulk\fR \-\-addcurrent <ws\-name>  | 
21 | 14 | .br  | 
22 |  | -git bulk \-\-purge  | 
23 |  | -.  | 
 | 15 | +\fBgit\-bulk\fR \-\-purge  | 
24 | 16 | .br  | 
25 |  | -git bulk \-\-listall  | 
26 |  | -.  | 
 | 17 | +\fBgit\-bulk\fR \-\-listall  | 
27 | 18 | .SH "DESCRIPTION"  | 
28 | 19 | git bulk adds convenient support for operations that you want to execute on multiple git repositories\.  | 
29 |  | -.  | 
30 |  | -.IP "\(bu" 4  | 
 | 20 | +.IP "\[ci]" 4  | 
31 | 21 | simply register workspaces that contain multiple git repos in their directory structure  | 
32 |  | -.  | 
33 |  | -.IP "\(bu" 4  | 
 | 22 | +.IP "\[ci]" 4  | 
34 | 23 | run any git command on the repositories of the registered workspaces in one command to \fBgit bulk\fR  | 
35 |  | -.  | 
36 |  | -.IP "\(bu" 4  | 
 | 24 | +.IP "\[ci]" 4  | 
37 | 25 | use the "guarded mode" to check on each execution  | 
38 |  | -.  | 
39 | 26 | .IP "" 0  | 
40 |  | -.  | 
41 | 27 | .SH "OPTIONS"  | 
42 | 28 | \-a  | 
43 |  | -.  | 
44 | 29 | .P  | 
45 | 30 | Run a git command on all workspaces and their repositories\.  | 
46 |  | -.  | 
47 | 31 | .P  | 
48 | 32 | \-g  | 
49 |  | -.  | 
50 | 33 | .P  | 
51 | 34 | Ask the user for confirmation on every execution\.  | 
52 |  | -.  | 
53 | 35 | .P  | 
54 | 36 | \-w <ws\-name>  | 
55 |  | -.  | 
56 | 37 | .P  | 
57 | 38 | Run the git command on the specified workspace\. The workspace must be registered\.  | 
58 |  | -.  | 
59 | 39 | .P  | 
60 | 40 | <git command>  | 
61 |  | -.  | 
62 | 41 | .P  | 
63 | 42 | Any git Command you wish to execute on the repositories\.  | 
64 |  | -.  | 
65 | 43 | .P  | 
66 |  | -\-\-addworkspace <ws\-name> <ws\-root\-directory> (\-\-from <URL or file&rt;gt;)  | 
67 |  | -.  | 
 | 44 | +\-\-addworkspace  | 
68 | 45 | .P  | 
69 | 46 | Register a workspace for bulk operations\. All repositories in the directories below <ws\-root\-directory> get registered under this workspace with the name <ws\-name>\. <ws\-root\-directory> must be absolute path\.  | 
70 |  | -.  | 
71 | 47 | .P  | 
72 |  | -With option \'\-\-from\' the URL to a single repository or a file containing multiple URLs can be added and they will be cloned directly into the workspace\. Suitable for the initial setup of a multi\-repo project\.  | 
73 |  | -.  | 
 | 48 | +With option '\-\-from' the URL to a single repository or a file containing multiple URLs can be added and they will be cloned directly into the workspace\. Suitable for the initial setup of a multi\-repo project\.  | 
74 | 49 | .P  | 
75 | 50 | \-\-removeworkspace <ws\-name>  | 
76 |  | -.  | 
77 | 51 | .P  | 
78 | 52 | Remove the workspace with the logical name <ws\-name>\.  | 
79 |  | -.  | 
80 | 53 | .P  | 
81 | 54 | \-\-addcurrent <ws\-name>  | 
82 |  | -.  | 
83 | 55 | .P  | 
84 | 56 | Adds the current directory as workspace to git bulk operations\. The workspace is referenced with its logical name <ws\-name>\.  | 
85 |  | -.  | 
86 | 57 | .P  | 
87 | 58 | git bulk \-\-purge  | 
88 |  | -.  | 
89 | 59 | .P  | 
90 | 60 | Removes all defined repository locations\.  | 
91 |  | -.  | 
92 | 61 | .P  | 
93 | 62 | git bulk \-\-listall  | 
94 |  | -.  | 
95 | 63 | .P  | 
96 | 64 | List all registered repositories\.  | 
97 |  | -.  | 
98 | 65 | .SH "EXAMPLES"  | 
99 |  | -.  | 
100 | 66 | .nf  | 
101 |  | - | 
102 | 67 | Register a workspace so that git bulk knows about it:  | 
103 | 68 | 
 
  | 
104 | 69 | $ git bulk \-\-addworkspace personal ~/workspaces/personal  | 
@@ -142,14 +107,10 @@ $ git bulk \-\-removeworkspace personal  | 
142 | 107 | Remove all registered workspaces:  | 
143 | 108 | 
 
  | 
144 | 109 | $ git bulk \-\-purge  | 
145 |  | -.  | 
146 | 110 | .fi  | 
147 |  | -.  | 
148 | 111 | .SH "AUTHOR"  | 
149 | 112 | Written by Niklas Schlimm <\fIns103@hotmail\.de\fR>  | 
150 |  | -.  | 
151 | 113 | .SH "REPORTING BUGS"  | 
152 | 114 | <https://github\.com/nschlimm/git\-bulk>  | 
153 |  | -.  | 
154 | 115 | .SH "SEE ALSO"  | 
155 | 116 | <\fIhttps://github\.com/tj/git\-extras\fR>  | 
0 commit comments