🧹 Remove them with a single Fish Shell command:
David Garcia

David Garcia @davidgarcia

Location:
Spain
Joined:
Jun 14, 2024

🧹 Remove them with a single Fish Shell command:

Publish Date: Feb 19
0 0

1️⃣ Save the following script in:
📂 .config/fish/functions/git-delete-branches.fish

2️⃣ Execute the command:

git-delete-branches "<regex>"

🔹 Finds and deletes local/remote branches matching a regex.
🔹 Asks for confirmation to avoid surprises.
🔹 Saves time and keeps your repo clean.

📌 Full code and explanation 👉

Comments 0 total

    Add comment