Skip to content

Commit 1aeecec

Browse files
authored
Merge pull request #477 from jtemporal/copilot/migrate-card-14-to-mermaid
Migrate EN card 14 to Mermaid format
2 parents 915d01d + 3da2921 commit 1aeecec

File tree

2 files changed

+61
-21
lines changed

2 files changed

+61
-21
lines changed

assets/img/mermaid/014-en.svg

Lines changed: 47 additions & 0 deletions
Loading

en/_posts/2021-08-25-014.md

Lines changed: 14 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,23 @@
11
---
22
layout: post
3-
title: '#014 git checkout -b name'
4-
image: "https://res.cloudinary.com/jesstemporal/image/upload/f_auto/v1642878596/gitfichas/en/014/thumbnail_zrrk3w.jpg"
5-
permalink: "/en/014"
3+
pretitle: Switching
4+
title: branches
5+
subtitle: when creating a new branch
6+
command: git checkout -b name
7+
descriptors:
8+
- command: command to<br>switch branches
9+
- part1: flag to create<br>the branch
10+
- part2: name of the<br>new branch
11+
author: "@jtemporal"
12+
number: "014"
13+
mermaid: true
14+
use_static_image: true
615
translations:
716
- lang: pt
817
url: /projects/014
918
- lang: es
1019
url: /es/014
20+
permalink: "/en/014"
1121
lang: "en"
1222
pv:
1323
url: "/en/013"
@@ -16,22 +26,5 @@ nt:
1626
url: "/en/015"
1727
title: "#015 diff"
1828
---
19-
##### Switching branches when creating a new branch
20-
21-
<img alt="To create a new branch and then switch to it with the command git checkout -b name" src="https://res.cloudinary.com/jesstemporal/image/upload/v1642878596/gitfichas/en/014/full_tatfxp.jpg"><br><br>
22-
23-
| Command | Description |
24-
|---------|-------------|
25-
| `checkout` | Command to switch branches |
26-
| `-b` | Flag to create the branch |
27-
| `name` | Name of the new branch |
28-
{: .styled-table}
29-
30-
<!--
31-
<br>
32-
You might also be interested in reading this article:
3329

34-
<a href="https://jtemporal.com/criando-um-novo-branch-e-mudando-pra-ele-com-um-comando/">
35-
<strong>Criando um novo branch e mudando pra ele com apenas um comando</strong>
36-
</a>
37-
-->
30+
{% include mermaid-graphs.html %}

0 commit comments

Comments
 (0)