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