From 9303297b352b7a33419f1bc1127e1bb7ad52d492 Mon Sep 17 00:00:00 2001
From: "aiyion.prime" <git@aiyionpri.me>
Date: Thu, 27 May 2021 11:25:31 +0200
Subject: [PATCH] docs: add 'make refresh-patches'

---
 docs/dev/basics.rst | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/docs/dev/basics.rst b/docs/dev/basics.rst
index 0f53d6d42..5508897c3 100644
--- a/docs/dev/basics.rst
+++ b/docs/dev/basics.rst
@@ -52,6 +52,14 @@ and you can try rebasing it onto the new `base` branch yourself and after that c
 Always call `make update-patches` after making changes to a module repository as `make update` will overwrite your
 commits, making `git reflog` the only way to recover them!
 
+::
+
+	make refresh-patches
+
+In order to refresh patches when updating feeds or the OpenWrt base, `make refresh-patches` applies and updates all of their patches without installing feed packages to the OpenWrt buildsystem.
+
+This command speeds up the maintenance of updating OpenWrt and feeds.
+
 Development Guidelines
 ----------------------
 Lua should be used instead of sh whenever sensible. The following criteria
-- 
GitLab