From 9d2a423011382b2d5467f73ceaa2bea6c17c82d0 Mon Sep 17 00:00:00 2001 From: Noah Masur <7386960+nmasur@users.noreply.github.com> Date: Sat, 16 Dec 2023 17:32:14 -0700 Subject: [PATCH] add shortcut to delete remote branches --- modules/common/shell/git.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/common/shell/git.nix b/modules/common/shell/git.nix index 9502c3c..b728a23 100644 --- a/modules/common/shell/git.nix +++ b/modules/common/shell/git.nix @@ -58,6 +58,7 @@ in { git switch (git symbolic-ref refs/remotes/origin/HEAD | cut -d"/" -f4)''; gcob = "git switch -c"; gb = "git branch"; + gpd = "git push origin -d"; gbd = "git branch -d"; gbD = "git branch -D"; gr = "git reset";