From db6396958a3e9242d4343f047f9a2939f3d782b3 Mon Sep 17 00:00:00 2001 From: fnuttens Date: Tue, 7 Nov 2023 15:38:29 +0100 Subject: [PATCH] Add git push origin --delete aliases (#659) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The --dry-run option is moved to gpy — I feel like it's not such a useful command. --- aliases/git/git-aliases.nu | 2 ++ 1 file changed, 2 insertions(+) diff --git a/aliases/git/git-aliases.nu b/aliases/git/git-aliases.nu index d7ee54e..ce7c949 100644 --- a/aliases/git/git-aliases.nu +++ b/aliases/git/git-aliases.nu @@ -117,6 +117,8 @@ export alias gpl = git pull export def gpoat [] { git push origin --all; git push origin --tags } +export alias gpod = git push origin --delete +export alias gpodc = git push origin --delete (git_current_branch) export alias gpr = git pull --rebase export alias gpu = git push upstream export alias gpv = git push --verbose