Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 13 additions & 11 deletions _posts/2021-08-04-008.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,20 @@
---
layout: post
title: '#008 git add -p'
image: "https://res.cloudinary.com/jesstemporal/image/upload/f_auto/v1642878671/gitfichas/pt/008/full_dtc6zn.jpg"
permalink: "/projects/008"
pretitle: Adicionando arquivos para
title: commit
subtitle: interativamente
command: git add -p
descriptors:
- command: comando para adicionar um ou<br>mais arquivos em staging
- part1: flag para escolher interativamente<br>alterações específicas para commit
author: "@jtemporal"
number: "008"
mermaid: true
use_static_image: true
translations:
- lang: en
url: /en/008
permalink: "/projects/008"
lang: "pt"
pv:
url: "/projects/007"
Expand All @@ -14,12 +23,5 @@ nt:
url: "/projects/009"
title: "#009 git branch nome"
---
##### Adicionando arquivos para commit interativamente

<img alt="Para commitar apenas uma partezinha da alteração use git add -p e siga escolhendo quais partes você que colocar no commit" src="https://res.cloudinary.com/jesstemporal/image/upload/v1642878671/gitfichas/pt/008/full_dtc6zn.jpg"><br><br>

| Comando | Descrição |
|---------|-------------|
| `add` | Comando para adicionar um ou mais arquivos em staging |
| `-p` | Flag para escolher interativamente alterações específicas para commit |
{: .styled-table}
{% include mermaid-graphs.html %}
47 changes: 47 additions & 0 deletions assets/img/mermaid/008.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.