1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-23 00:55:27 +02:00

git-init: update placeholders (#16021)

This commit is contained in:
Machiavelli 2025-03-25 23:14:18 +02:00 committed by GitHub
parent c3131c60fe
commit 13379afb20
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -9,11 +9,11 @@
- Initialize a repository with the specified name for the initial branch:
`git init --initial-branch={{branch_name}}`
`git init {{[-b|--initial-branch]}} {{branch_name}}`
- 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: