Skip to content

Commit 0910dad

Browse files
Copilotjtemporal
andcommitted
Migrate card 046 (PT and EN) to Mermaid format with generated SVGs
Co-authored-by: jtemporal <6595551+jtemporal@users.noreply.github.com>
1 parent 0ddc224 commit 0910dad

File tree

4 files changed

+122
-42
lines changed

4 files changed

+122
-42
lines changed

_posts/2022-02-06-046.md

Lines changed: 14 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,18 @@
11
---
22
layout: post
3-
title: '#046 git stash apply stash@{2}'
4-
image: "https://res.cloudinary.com/jesstemporal/image/upload/v1644151679/gitfichas/pt/046/thumbnail_gcrnbm.jpg"
3+
pretitle: Aplicando um stash
4+
title: sem remover
5+
subtitle: ele da pilha
6+
command: git stash apply stash@{2}
7+
descriptors:
8+
- command: comando para gerenciar stashes
9+
- part1: aplica as mudanças de um stash<br>sem remover ele da pilha
10+
- part2: índice do antepenúltimo stash
11+
info: sem passar um índice a stash mais recente é usada
12+
author: "@jtemporal"
13+
number: "046"
14+
mermaid: true
15+
use_static_image: true
516
permalink: "/projects/046"
617
translations:
718
- lang: en
@@ -14,22 +25,5 @@ nt:
1425
url: "/projects/047"
1526
title: "#047 git clone -b nome"
1627
---
17-
##### Aplicando um stash sem remover ele da pilha
1828

19-
<img alt="Para aplicar um stash da lista, use o comando git stash apply seguido do índice do stash de interesse" src="https://res.cloudinary.com/jesstemporal/image/upload/v1644151679/gitfichas/pt/046/full_mutfuw.jpg"><br><br>
20-
21-
| Comando | Descrição |
22-
|---------|-----------|
23-
| `stash` | comando para gerenciar stashes |
24-
| `apply` | aplica as mudanças de um stash sem remover ele da pilha |
25-
| `stash@{2}` | índice do antepenúltimo stash |
26-
| _informação extra_ | sem passar um índice a stash mais recente é usada |
27-
{: .styled-table}
28-
29-
<br>
30-
31-
Leia mais sobre esse comando no blog post a seguir:
32-
33-
<a href="https://jtemporal.com/entenda-a-diferenca-git-stash-pop-git-stash-apply/?utm_source=gitfichas">
34-
<strong>Entenda a diferença entre git stash pop e git stash apply</strong>
35-
</a>
29+
{% include mermaid-graphs.html %}

assets/img/mermaid/046-en.svg

Lines changed: 47 additions & 0 deletions
Loading

assets/img/mermaid/046.svg

Lines changed: 47 additions & 0 deletions
Loading

en/_posts/2022-02-06-046.md

Lines changed: 14 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,18 @@
11
---
22
layout: post
3-
title: '#046 git stash apply stash@{2}'
4-
image: "https://res.cloudinary.com/jesstemporal/image/upload/v1644151690/gitfichas/en/046/thumbnail_exlc8r.jpg"
3+
pretitle: applying a stash
4+
title: without removing
5+
subtitle: it from the pile
6+
command: git stash apply stash@{2}
7+
descriptors:
8+
- command: command to manage stashes
9+
- part1: apply the changes from stash<br>without removing it from the pile
10+
- part2: third to last stash
11+
info: without passing an index the most recent stash is used
12+
author: "@jtemporal"
13+
number: "046"
14+
mermaid: true
15+
use_static_image: true
516
translations:
617
- lang: pt
718
url: /projects/046
@@ -14,24 +25,5 @@ nt:
1425
url: "/en/047"
1526
title: "#047 git clone -b name"
1627
---
17-
##### applying a stash without removing it from the pile
1828

19-
<img alt="To use a stash entry from the pile, use the command git stash apply followed by the stash name" src="https://res.cloudinary.com/jesstemporal/image/upload/v1644151690/gitfichas/en/046/full_bucxwr.jpg"><br><br>
20-
21-
| Command | Description |
22-
|---------|-------------|
23-
| `stash` | command to manage stashes |
24-
| `apply` | apply the changes from stash without removing it from the pile |
25-
| `stash@{2}` | third to last stash |
26-
| _extra information_ | without passing an index the most recent stash is used |
27-
{: .styled-table}
28-
29-
<!--
30-
<br>
31-
32-
Read more about this command in the following blog post:
33-
34-
<a href="FILL">
35-
<strong>FILL</strong>
36-
</a>
37-
-->
29+
{% include mermaid-graphs.html %}

0 commit comments

Comments
 (0)