mirror of
https://codeberg.org/dwl/dwl-patches.git
synced 2026-02-04 10:13:11 +00:00
Update instructions
parent
659bef5204
commit
f1def83097
@ -7,12 +7,12 @@
|
|||||||
|
|
||||||
## Contributing Patches to this Wiki
|
## 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!
|
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`
|
`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`
|
`git format-patch upstream/main...<branch-name> --stdout > PATCHNAME.patch`
|
||||||
4. Fork [https://codeberg.org/dwl/dwl-patches][dwl-patches]
|
4. Fork [https://codeberg.org/dwl/dwl-patches][dwl-patches]
|
||||||
5. Configure your repository
|
5. Configure your repository
|
||||||
`git config --local pull.rebase true`
|
`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.
|
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)
|
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)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user