From 7a7a3138a3170fc9a70d95ee9ae6f383eb2a0644 Mon Sep 17 00:00:00 2001 From: Franco Fichtner Date: Fri, 24 Jan 2025 09:59:18 +0100 Subject: [PATCH] plugins: add reset target --- Mk/defaults.mk | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Mk/defaults.mk b/Mk/defaults.mk index cb5cc80e9..9cf73ce3a 100644 --- a/Mk/defaults.mk +++ b/Mk/defaults.mk @@ -1,4 +1,4 @@ -# Copyright (c) 2016-2024 Franco Fichtner +# Copyright (c) 2016-2025 Franco Fichtner # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions @@ -161,3 +161,8 @@ push: @git checkout ${PLUGIN_STABLE} @git push @git checkout ${PLUGIN_MAIN} + +reset: + @git checkout ${PLUGIN_STABLE} + @git reset --hard HEAD~1 + @git checkout ${PLUGIN_MAIN}