mirror of
https://gitea.com/mcereda/oam.git
synced 2026-02-09 05:44:23 +00:00
Added a git command example
This commit is contained in:
@@ -25,6 +25,10 @@ git config --list \
|
||||
| awk -F '=' '{print $1}' | sort -u \
|
||||
| xargs -I {} sh -c 'printf "{}=" && git config --get {}'
|
||||
|
||||
# Get a default value if the setting has none.
|
||||
# Does not work on sections alone.
|
||||
git config --get --default not-set filter.lfs.cleaned
|
||||
|
||||
# Create or reinitialize a repository.
|
||||
git init
|
||||
git init --initial-branch main path/to/repo
|
||||
|
||||
Reference in New Issue
Block a user