From: Carlo Arenas <carenas@gmail.com>
To: Bagas Sanjaya <bagasdotme@gmail.com>
Cc: Git Users <git@vger.kernel.org>
Subject: Re: [QUESTION] How to add new configuration variable
Date: Fri, 17 Sep 2021 09:21:20 -0700 [thread overview]
Message-ID: <CAPUEspgv49ppMbwHMPjF6_4FBU1_tYk_DdXXOTDuWwAx74UL8Q@mail.gmail.com> (raw)
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
prev parent reply other threads:[~2021-09-17 16:21 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-09-17 10:44 [QUESTION] How to add new configuration variable Bagas Sanjaya
2021-09-17 13:43 ` Konstantin Ryabitsev
2021-09-17 15:20 ` Đoàn Trần Công Danh
2021-09-17 20:02 ` Junio C Hamano
2021-09-17 16:21 ` Carlo Arenas [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAPUEspgv49ppMbwHMPjF6_4FBU1_tYk_DdXXOTDuWwAx74UL8Q@mail.gmail.com \
--to=carenas@gmail.com \
--cc=bagasdotme@gmail.com \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).