I would like git config to give me just the settings for the local
repository (.git/config). I am likely misreading the documentation, but
it appears there isn't an option for that.
Would someone mind setting me straight?
Josh
From: Jakub Narebski <hidden> Date: 2016-06-15 22:49:14
Joshua Jensen [off-list ref] writes:
I would like git config to give me just the settings for the local
repository (.git/config). I am likely misreading the documentation,
but it appears there isn't an option for that.
Would someone mind setting me straight?
AFAIK you can only fake it with
$ git config --file .git/config --list
(or something like that).
--
Jakub Narebski
Poland
ShadeHawk on #git
----- Original Message -----
From: Jakub Narebski
Date: 8/3/2010 10:25 AM
git config --file .git/config --list
This looks like it will work for me.
I've never looked at the config section of the Git code. I'll have to
see what it would take to add a --local command line option to do the
same thing as above but in a more convenient fashion.
Josh
Heya,
On Tue, Aug 3, 2010 at 20:09, Joshua Jensen [off-list ref] wrote:
I've never looked at the config section of the Git code. I'll have to see
what it would take to add a --local command line option to do the same thing
as above but in a more convenient fashion.
On Tue, Aug 3, 2010 at 20:09, Joshua Jensen[off-list ref] wrote:
quoted
I've never looked at the config section of the Git code. I'll have to see
what it would take to add a --local command line option to do the same thing
as above but in a more convenient fashion.