mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-09-04 08:33:39 +02:00
git-init: update page and add Dutch translation (#17840)
This commit is contained in:
parent
c8f6fe888f
commit
35c5dd4ec5
2 changed files with 22 additions and 2 deletions
20
pages.nl/common/git-init.md
Normal file
20
pages.nl/common/git-init.md
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
# git init
|
||||||
|
|
||||||
|
> Initialiseer een nieuwe lokale Git-repository.
|
||||||
|
> Meer informatie: <https://git-scm.com/docs/git-init>.
|
||||||
|
|
||||||
|
- Initialiseer een nieuwe lokale repository:
|
||||||
|
|
||||||
|
`git init`
|
||||||
|
|
||||||
|
- Initialiseer een repository met de opgegeven naam voor de initiële branch:
|
||||||
|
|
||||||
|
`git init {{[-b|--initial-branch]}} {{branch_naam}}`
|
||||||
|
|
||||||
|
- Initialiseer een repository die SHA256 gebruikt voor object-hashes (vereist Git-versie 2.29+):
|
||||||
|
|
||||||
|
`git init --object-format sha256`
|
||||||
|
|
||||||
|
- Initialiseer een eenvoudige repository, geschikt voor gebruik als externe SSH-server:
|
||||||
|
|
||||||
|
`git init --bare`
|
|
@ -1,6 +1,6 @@
|
||||||
# git init
|
# git init
|
||||||
|
|
||||||
> Initializes a new local Git repository.
|
> Initialize a new local Git repository.
|
||||||
> More information: <https://git-scm.com/docs/git-init>.
|
> More information: <https://git-scm.com/docs/git-init>.
|
||||||
|
|
||||||
- Initialize a new local repository:
|
- Initialize a new local repository:
|
||||||
|
@ -13,7 +13,7 @@
|
||||||
|
|
||||||
- Initialize a repository using SHA256 for object hashes (requires Git version 2.29+):
|
- Initialize a repository using SHA256 for object hashes (requires Git version 2.29+):
|
||||||
|
|
||||||
`git init --object-format {{sha256}}`
|
`git init --object-format sha256`
|
||||||
|
|
||||||
- Initialize a barebones repository, suitable for use as a remote over SSH:
|
- Initialize a barebones repository, suitable for use as a remote over SSH:
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue