Thread (2 messages) flat view 2 messages, 2 authors, 2016-06-15

Question about include feature in .gitconfig

From: Shouichi KAMIYA <hidden>
Date: 2016-06-15 22:53:28

Hello git users and developers,

I have a question about "include" feature in config file.
In .gitconfig I included .my_super_secret_file like below.

# .gitconfig
[include]
    path = .my_super_secret_file

# .my_super_secret_file
[github]
    password = foobar

Now, my question is return value of "git config --global github.password".
I expect it to return foobar but it returns nothing. Is this behavior expected?

Cheers!
Shouichi

-- 
Shouichi KAMIYA
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help