From 7c0a1286fa373c117e43dcbfe758d4db2ab92381 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Tue, 27 Aug 2024 12:53:07 +0200 Subject: [PATCH] updated git_branch_delete_squash_merged.sh --- git/git_branch_delete_squash_merged.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/git/git_branch_delete_squash_merged.sh b/git/git_branch_delete_squash_merged.sh index 4e0d9dbd..6529894a 100755 --- a/git/git_branch_delete_squash_merged.sh +++ b/git/git_branch_delete_squash_merged.sh @@ -22,7 +22,7 @@ srcdir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" # shellcheck disable=SC2034,SC2154 usage_description=" -Carefully detects if a Git branch you want to delete is merged to the default trunk branch and then removes it +Carefully detects if a Git squash merged branch you want to delete has no changes vs the default trunk branch before deleting it Doing a branch force delete without these checks risks losing all unpushed code changes on a branch