Skip to content

Commit 771992c

Browse files
committed
Add note on repo management
1 parent deb823b commit 771992c

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,13 @@ You can also disable unwanted aspects of the patching process (like Events). **P
4747
also auto-detect source files and use any available, but you can specify `ignoredSources` by
4848
their shortname (e.g. "Framework") to prevent using a source.
4949

50+
### Repositories
51+
52+
**Patches** works best alongside your project's repository management. It is highly recommended
53+
that you add the workspace to your **.gitignore** file (default: **writable/patches**) and
54+
that you include **composer.lock** in committed code. This way you can run patches against
55+
a dedicated branch without affecting the rest of your workflow.
56+
5057
## Usage
5158

5259
**Patches** comes with a CLI Command to run patches and guide you through the process. After

0 commit comments

Comments
 (0)