Skip to content

Commit 260db6d

Browse files
committed
pt-BR cheat sheet translated.
1 parent 8ab5e84 commit 260db6d

File tree

1 file changed

+48
-48
lines changed

1 file changed

+48
-48
lines changed

gitcheatsheet_ptBR.md

+48-48
Original file line numberDiff line numberDiff line change
@@ -14,236 +14,236 @@ Com instaladores Git específicos para cada plataforma, GitHub também disponibi
1414

1515
## CONFIGURAÇÃO
1616

17-
Configuring user information used across all local repositories.
17+
Configurando informação do usuário em todos os repositórios locais.
1818

1919
```
2020
git config --global user.name "[firstname lastname]"
2121
```
22-
set a name that is identifiable for credit when review vesion history.
22+
atribui um nome que é identificável como credencial durante a revisão do histórico.
2323

2424
```
2525
git config --global user.email "[valid-email]"
2626
```
27-
set an email address that will be associated with each history marker.
27+
atribui um endereço de email que será associado a cada marcador de histórico.
2828

2929
```
3030
git config --global color.ui auto
3131
```
32-
set automatic command line coloring for Git for easy reviewing.
32+
configura a coloração do prompt de comando do Git para revisão facilitada.
3333

3434

3535
## CONFIGURAÇÃO & INICIALIZAÇÃO
3636

37-
Configuring user information, initializing and cloning repositories.
37+
Configurando informação de usuário, inicialização e clonando repositórios.
3838

3939
```
4040
git init
4141
```
42-
initialize an existing directory as a Git repository.
42+
Inicializa um diretório existente como um reposório Git.
4343

4444
```
4545
git clone [url]
4646
```
47-
retrieve an entire repository from a hosted location via URL
47+
Copia um repositório inteiro de um local hospedado via URL.
4848

4949

5050
## PREPARAÇÃO (STAGE) & PRÉVIA (SNAPSHOT)
5151

52-
Working with snapshots and the Git staging area
52+
Trabalhando com prévias e com a área de preparação Git
5353

5454
```
5555
git status
5656
```
57-
show modified files in working directory, stage for your next commit.
57+
exibe arquivos modificados no diretório de trabalho, preparação para seu próximo commit.
5858

5959
```
6060
git add [file]
6161
```
62-
add a file as it looks now to your next commit (stage).
62+
adiciona um arquivo como está agora para seu próximo commit (preparação).
6363

6464
```
6565
git reset [file]
6666
```
67-
unstage a file while retaining the changes in working directory.
67+
desprepara um arquivo enquanto mantém as mudanças no diretório de trabalho.
6868

6969
```
7070
git diff
7171
```
72-
diff of what is changed but not staged.
72+
diferenças do que foi modificado mas não está preparado.
7373

7474
```
7575
git diff --staged
7676
```
77-
diff of what is staged but not yet committed.
77+
diferenças do que foi preparado mas não recebeu commit anda.
7878

7979
```
8080
git commit -m "[descriptive message]"
8181
```
82-
commit your staged content as a new commit snapshot.
82+
aplica o conteúdo preparado como uma nova prévia commit.
8383

8484

8585
## RAMIFICAÇÃO (BRANCH) & INTEGRAÇÃO (MERGE)
8686

87-
Isolating work in branches, changing context, and integrating changes.
87+
Isolando o trabalho em ramos, alterando contexto, e integrando mudanças.
8888

8989
```
9090
git branch
9191
```
92-
list your branches. a * will appear next to the currently active branch.
92+
lista seus ramos (branches). um * aparecerá próximo ao ramo atualmente ativo.
9393

9494
```
9595
git branch [branch-name]
9696
```
97-
create a new branch at the current commit.
97+
cria um novo ramo no commit atual
9898

9999
```
100100
git checkout
101101
```
102-
switch to another branch and check it out into your working directory.
102+
troca para outro ramo (branch) e sai para o diretório de trabalho atual
103103

104104
```
105105
git merge [branch]
106106
```
107-
merge the specified branch's history into the current one.
107+
merge o ramo histórico do especificado ao atual.
108108

109109
```
110110
git log
111111
```
112-
show all commits in the current branch's history.
112+
exibe todos os commits no histórico do ramo atual.
113113

114114

115115
## INSPEÇÃO & COMPARAÇÃO
116116

117-
Examining logs, diffs and object information.
117+
Examinando logs, diferenças and informação de objetos.
118118

119119
```
120120
git log
121121
```
122-
show the commit history for the currently active branch.
122+
exibe todos os commits no histórico do ramo atual.
123123

124124
```
125125
git log branchB..branchA
126126
```
127-
show the commits on branchA that are not on branchB.
127+
exibe os commits no branchA que não estão no branchB
128128

129129
```
130130
git log --follow [file]
131131
```
132-
show the commits that changed file, even across renames.
132+
exibe os commits que alteraram file, mesmo entre renomeações.
133133

134134
```
135135
git diff branchB...branchA
136136
```
137-
show the diff of what is in branchA that is not in branchB.
137+
exibe as diferenças do que está em branchA mas não em branchB.
138138

139139
```
140140
git show [SHA]
141141
```
142-
show any object in Git in human-readable format.
142+
exibe qualquer objeto no Git em formato legível.
143143

144144

145-
## RATREANDO MUDANÇAS DE CAMINHO
145+
## RASTREANDO MUDANÇAS DE CAMINHO
146146

147-
Versioning file removes and path changes.
147+
Versionando remoções e movimentações de arquivo.
148148

149149
```
150150
git rm [file]
151151
```
152-
delete the file from project and stage the removal for commit.
152+
deleta o arquivo do projeto e prepara a remoção para o commit.
153153

154154
```
155155
git mv [existing-path] [new-path]
156156
```
157-
change an existing file path and stage the move.
157+
altera um caminho de arquivo existente e prepara (stage) a movimentação.
158158

159159
```
160160
git log --stat -M
161161
```
162-
show all commit logs with indications of any paths that moved.
162+
exibe todos os logs de commits com indicações de caminhos que foram movidos.
163163

164164

165165
## IGNORANDO PADRÕES
166166

167-
Preventing unintentional staging or commiting of files
167+
Prevenindo preparação ou commit de arquivos não intencionais.
168168

169169
```
170170
logs/
171171
*.notes
172172
pattern*/
173173
```
174-
save a file with desired patterns as .gitignore with either direct string matches or wildcard globs.
174+
salve um arquivo com os padrões desejados como .gitignore com entradas de combinação diretas ou indiretas.
175175

176176
```
177177
git config --global core.excludesfile [file]
178178
```
179-
system wide ignore pattern for all local repositories.
179+
padrões a serem ignorados por todos os repositórios locais.
180180

181181

182182
## COMPARTILHAMENTO E ATUALIZAÇÃO
183183

184-
Retrieving updates from another repository and updating local repos.
184+
Recuperando atualizações de outro repositório e atualizando repositórios locais.
185185

186186
```
187187
git remote add [alias] [url]
188188
```
189-
add a git URL as an alias.
189+
adiciona um URL git como um alias (pseudônimo).
190190

191191
```
192192
git fetch [alias]
193193
```
194-
fetch down all the branches from that Git remote.
194+
busca todos os ramos (branches) do Git remoto.
195195

196196
```
197197
git merge [alias]/[branch]
198198
```
199-
merge a remote branch into your current branch to bring it up to date.
199+
merge um ramo remoto ao ramo atual para atualizá-lo.
200200

201201
```
202202
git push [alias] [branch]
203203
```
204-
transmit local branch commits to the remote repository branch.
204+
transmite commits do ramo local para o ramo do repositório remoto.
205205

206206
```
207207
git pull
208208
```
209-
fetch and merge any commits from the tracking remote branch.
209+
busca e merge qualquer commit do ramo remoto rastreado.
210210

211211

212212
## REESCREVENDO HISTÓRICO
213213

214-
Rewriting branches, updating commits and clearing history
214+
Reescrevendo ramos, atualizando commits e limpando o histórico
215215

216216
```
217217
git rebase [branch]
218218
```
219-
apply any commits of current branch ahead of specified one.
219+
aplica quaisquer commits do ramo atual que esteja à frente do especificado.
220220

221221
```
222222
git reset --hard [commit]
223223
```
224-
clear staging area, rewrite working tree from specified commit.
224+
limpa a area de preparação, reescreve a árvore de trabalho a partir do commit especificado.
225225

226226

227227
## COMMITS TEMPORÁRIOS
228228

229-
Temporarily store modified, tracked files, in toder to change branches.
229+
Armazenando temporariamente arquivos modificados, rastreados com o objetivo de alterar ramos (branches).
230230

231231
```
232232
git stash
233233
```
234-
save modified and staged changes.
234+
salva modificações e preparações.
235235

236236
```
237237
git stash list
238238
```
239-
list stack-order of stashed file changes.
239+
lista em ordem de pilha das mudanças acumuladas no stash.
240240

241241
```
242242
git stash pop
243243
```
244-
write working from top of stack.
244+
escreve o trabalho a partir do topo da pilha stash.
245245

246246
```
247247
git stash drop
248248
```
249-
discard the changes from top of stash stack.
249+
discarta as mudanças a partir do top da pilha stash.

0 commit comments

Comments
 (0)