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: