1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-09-03 01:13:32 +02:00

git-init: update page and add Dutch translation (#17840)

This commit is contained in:
Dylan 2025-08-26 12:15:28 +00:00 committed by GitHub
parent c8f6fe888f
commit 35c5dd4ec5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 22 additions and 2 deletions

View 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`

View file

@ -1,6 +1,6 @@
# git init
> Initializes a new local Git repository.
> Initialize a new local Git repository.
> More information: <https://git-scm.com/docs/git-init>.
- Initialize a new local repository:
@ -13,7 +13,7 @@
- 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: