From 486c375d0d83ccf87bef47d23ad03b417478ccfe Mon Sep 17 00:00:00 2001 From: sewn Date: Fri, 7 Jun 2024 11:43:03 +0300 Subject: [PATCH] README: fetch dwl remote upon adding --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 80d1626..1fd38b5 100644 --- a/README.md +++ b/README.md @@ -24,8 +24,8 @@ Since dwl is still taking shape, patches may need to be updated after larger cha 2. Create a branch in your Codeberg `dwl` repository for the patch you are generating and maintaining. ## Contributing Patches to `dwl-patches` -1. 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` +1. If you do not have it already, add the remote for the main dwl repository in your local copy and fetch it: + `git remote add --fetch upstream https://codeberg.org/dwl/dwl` 2. In your local repository of dwl, create a .patch file `git format-patch upstream/main... --stdout > PATCHNAME.patch` 3. Fork [https://codeberg.org/dwl/dwl-patches][dwl-patches]