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
+2 -2
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: