Re: [QUESTION] How to add new configuration variable
- From
Carlo Arenas <carenas@gmail.com>
- Date
- Sep 17, 2021, 16:21 UTC
- Message-ID
- <CAPUEspgv49ppMbwHMPjF6_4FBU1_tYk_DdXXOTDuWwAx74UL8Q@mail.gmail.com>
- In-Reply-To
- <9f3cc3f0-36db-f7e5-de1d-2c8c9f246884@gmail.com>
you might want this in --global instead, but assuming it is ok to be repository specific:
$ git config foobar.something baz
and in your script
baz=$(git config foobar.something)
Carlo