Skip to content
47 changes: 47 additions & 0 deletions assets/img/mermaid/026-en.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion en/_posts/2021-10-25-025.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@ nt:
| `branch` | Command to manage branches |
| `-d` | Flag tor deleting the branch locally |
| `name` | Branch name |
{: .styled-table}
{: .styled-table}
27 changes: 14 additions & 13 deletions en/_posts/2021-10-27-026.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,17 @@
---
layout: post
title: '#026 git branch -D name'
image: "https://res.cloudinary.com/jesstemporal/image/upload/f_auto/v1642878598/gitfichas/en/026/thumbnail_aean1n.jpg"
pretitle: Forcing the deletion of a
title: branch
subtitle:
command: git branch -D name
descriptors:
- command: command to<br>manage branches
- part1: flag for force deleting<br>the branch locally
- part2: branch name
author: "@jtemporal"
number: "026"
mermaid: true
use_static_image: true
permalink: "/en/026"
translations:
- lang: pt
Comment on lines 15 to 17
Expand All @@ -11,18 +21,9 @@ translations:
lang: "en"
pv:
url: "/en/025"
title: "#025 git branch -d nome"
title: "#025 git branch -d name"
nt:
url: "/en/027"
title: "#027 git rebase source target"
---
##### Forcing the deletion of a branch

<img alt="To force delete a branch locally use the command: git branch -D branch-name" src="https://res.cloudinary.com/jesstemporal/image/upload/v1642878598/gitfichas/en/026/full_u3ir78.jpg"><br><br>

| Command | Description |
|---------|-------------|
| `branch` | Command to manage branches |
| `-D` | Flag to force deleting the branch locally |
| `name` | Branch name |
{: .styled-table}
{% include mermaid-graphs.html %}