1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-09-07 20:13:30 +02:00
tldr/pages.pt_BR/common/git-init.md
Pedro Mariano 26b18347d0
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>
2023-10-15 22:23:21 +05:30

534 B

git init

Inicializa um novo repositório Git local. Mais informações: https://git-scm.com/docs/git-init.

  • Inicializa um novo repositório local:

git init

  • Inicializa um repositório com o nome especificado para a branch inicial:

git init --initial-branch={{nome_da_branch}}

  • Inicializa um repositório usando SHA256 para os hashes de objeto (requer Git versão 2.29+):

git init --object-format={{sha256}}

  • Inicializa um repositório barebones, adequado para usar como um remoto via ssh:

git init --bare