From 0ad28855bfcca20ba743bc66d0c148c2eaa52011 Mon Sep 17 00:00:00 2001 From: zegonix Date: Tue, 26 Aug 2025 16:09:13 +0200 Subject: [PATCH] (git) added section on deleting branches --- git.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/git.md b/git.md index fb9cad6..7f0fd6a 100644 --- a/git.md +++ b/git.md @@ -47,6 +47,12 @@ git checkout -b git switch ``` +### delete a branch + +To delete a branch locally use `git branch -d `. + +To delete a branch on the remote repository use `git push -d `. + ## submodules