Update instructions

A Frederick Christensen 2024-01-07 02:37:07 +00:00
parent 659bef5204
commit f1def83097

@ -7,12 +7,12 @@
## Contributing Patches to this Wiki
1. If work has been done to the main branch at [dwl] since you started work on your patch, REBASE YOUR PATCH!
2. If you do not have it already, add the remote for the main dwl repository in your local copy:
2. If you do not have it already, add the remote for the main dwl repository in your local copy:
`git remote add upstream https://codeberg.org/dwl/dwl`
3. In your local repository of dwl, create a .patch file
3. In your local repository of dwl, create a .patch file
`git format-patch upstream/main...<branch-name> --stdout > PATCHNAME.patch`
4. Fork [https://codeberg.org/dwl/dwl-patches][dwl-patches]
5. Configure your repository
5. Configure your repository
`git config --local pull.rebase true`
6. In your local copy, add a directory called `PATCHNAME` and place the `PATCHNAME.patch` you created in step three into the `PATCHNAME` directory. You may also place screenshots in the `PATCHNAME` directory that you can later reference in your [dwl-patches wiki][wiki] entry.
7. Use the Codeberg web interface to send a pull request to [dwl-patches] (NOT to [dwl]) (Codeberg nicely will generate a URL for you)