From 13379afb20b13d3604fcd84d2fe6df279383dae9 Mon Sep 17 00:00:00 2001 From: Machiavelli <145562237+MachiavelliII@users.noreply.github.com> Date: Tue, 25 Mar 2025 23:14:18 +0200 Subject: [PATCH] git-init: update placeholders (#16021) --- pages/common/git-init.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pages/common/git-init.md b/pages/common/git-init.md index 4389074133..35ac0adfec 100644 --- a/pages/common/git-init.md +++ b/pages/common/git-init.md @@ -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: