git-*: add pt_BR translation (#10975)

* git-commit: add pt_BR translation

* git-diff: add pt_BR translation

* git-init: add pt_BR translation

* git-push: add pt_BR translation

* git-pull: add pt_BR translation

* git-rebase: add pt_BR translation

* git-reset: add pt_BR translation

* git-status: add pt_BR translation

* git-log: add pt_BR translation

* git-checkout: add pt_BR translation

* git-branch: add pt_BR translation

* git-*: update pt_BR translation

Signed-off-by: Pedro Mariano <ph_marianocorrea@hotmail.com>

* git-branch: update pt_BR translation

* Apply suggestions from code review

* git-branch: update pt_BR translation

* apply suggestion on `git-log.md`

---------

Signed-off-by: Pedro Mariano <ph_marianocorrea@hotmail.com>
Co-authored-by: Isaac Vicente <isaacvicentsocial@gmail.com>
This commit is contained in:
Pedro Mariano
2023-10-15 13:53:21 -03:00
committed by GitHub
parent 159e5cea7c
commit 26b18347d0
11 changed files with 339 additions and 0 deletions

View File

@@ -0,0 +1,36 @@
# git branch
> Comando principal do Git para trabalhar com branches.
> Mais informações: <https://git-scm.com/docs/git-branch>.
- Lista todas as branches (locais e remotas; a branch atual é destacada por `*`):
`git branch --all`
- Lista quais branches incluem um commit específico do Git em seu histórico:
`git branch --all --contains {{hash_do_commit}}`
- Mostra o nome da branch atual:
`git branch --show-current`
- Cria uma nova branch baseada no commit atual:
`git branch {{nome_da_branch}}`
- Crua uma nova branch baseada em um commit específico:
`git branch {{nome_da_branch}} {{hash_do_commit}}`
- Renomeia uma branch (não precisa fazer checkout para isso):
`git branch -m {{antigo_nome_da_branch}} {{novo_nome_da_branch}}`
- Exclui a branch local (não precisa fazer checkout para isso):
`git branch -d {{nome_da_branch}}`
- Exclui uma branch remota:
`git push {{nome_remoto}} --delete {{nome_da_branch_remota}}`