mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-22 06:42:10 +02:00
git-init: add --object-format example (#4888)
This commit is contained in:
parent
9a326df505
commit
04591b14dc
1 changed files with 4 additions and 0 deletions
|
@ -7,6 +7,10 @@
|
|||
|
||||
`git init`
|
||||
|
||||
- Initialize a repository using SHA256 for object hashes (requires git version 2.29+):
|
||||
|
||||
`git init --object-format={{sha256}}`
|
||||
|
||||
- Initialize a barebones repository, suitable for use as a remote over ssh:
|
||||
|
||||
`git init --bare`
|
||||
|
|
Loading…
Add table
Reference in a new issue