HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

yadm gitconfig — Pass options to `git config`. Change the `.gitconfig` of the repository managed by yadm. See also: `

Submitted by: @import:tldr-pages··
0
Viewed 0 times
commandoptionsclipasschangeconfigyadm gitconfiggit

Problem

How to use the yadm gitconfig command: Pass options to git config. Change the .gitconfig of the repository managed by yadm. See also: git config. More information: <https://github.com/TheLocehiliosan/yadm/blob/master/yadm.md#commands>.

Solution

yadm gitconfig — Pass options to git config. Change the .gitconfig of the repository managed by yadm. See also: git config. More information: <https://github.com/TheLocehiliosan/yadm/blob/master/yadm.md#commands>.

Update or set a Git configuration value:
yadm gitconfig {{key.inner-key}} {{value}}


Get a value from yadm's Git configuration:
yadm gitconfig --get {{key}}


Unset a value in yadm's Git configuration:
yadm gitconfig --unset {{key}}


List all values in yadm's Git configuration:
yadm gitconfig --list

Code Snippets

Update or set a Git configuration value

yadm gitconfig {{key.inner-key}} {{value}}

Get a value from yadm's Git configuration

yadm gitconfig --get {{key}}

Unset a value in yadm's Git configuration

yadm gitconfig --unset {{key}}

List all values in yadm's Git configuration

yadm gitconfig --list

Context

tldr-pages: common/yadm gitconfig

Revisions (0)

No revisions yet.