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
LavaMoat follows the [Conventional Commits][] convention for commit messages, which helps automate the [release workflow][]. Here's an example commit message:
174
174
175
-
```txt
175
+
```text
176
176
tag: Short description of what you did
177
177
178
178
Longer description here if necessary
@@ -191,7 +191,13 @@ The `tag` is one of the following:
191
191
-`docs` - changes to documentation only.
192
192
-`chore` - for changes that aren't user-facing.
193
193
194
-
The `scope` (in parentheses) is typically the _directory name_ relative to `packages/` of the affected project. If multiple projects are affected, separate them by commas. For example:
194
+
The `scope` (in parentheses) is typically the _directory name_ relative to `packages/` of the affected package (workspace). For example:
195
+
196
+
```text
197
+
chore(webpack): frobnicate the widget
198
+
```
199
+
200
+
If multiple projects are affected, separate them by commas:
195
201
196
202
```text
197
203
fix(core,node): fix a bug in lavamoat-core and lavamoat-node
@@ -207,9 +213,11 @@ The message summary should be a one-sentence description of the change. If the p
207
213
208
214
Here are some good commit message summary examples:
209
215
210
-
```txt
216
+
```text
211
217
feat!(core): added default behavior
218
+
212
219
fix: semicolons no longer breaking everything
220
+
213
221
chore(webpack): upgrade to browserify v5
214
222
```
215
223
@@ -252,12 +260,18 @@ Next, push your changes to your clone:
252
260
git push origin issue1234
253
261
```
254
262
255
-
If you are unable to push because some references are old, do a forced push instead:
263
+
If you are unable to push because some references are old, force-push instead:
256
264
257
265
```shell
258
266
git push -f origin issue1234
259
267
```
260
268
269
+
:::caution[Force Pushing]
270
+
271
+
Force-pushing is a potentially dangerous operation. Read this post about [how to safely use force-push][force-push].
272
+
273
+
:::
274
+
261
275
### Step 7: Send the pull request<aname="step7"></a>
262
276
263
277
Now you're ready to send the pull request. Go to your Lav aMoat fork and then follow the [GitHub documentation][github-pr] on how to send a pull request.
@@ -336,3 +350,4 @@ The LavaMoat team thanks you for contributing! "You're welcome" is appreciated,
0 commit comments