How does [github] section of .gitconfig work?

…衆ロ難τιáo~ 提交于 2019-12-04 00:57:55

问题


I'm wondering how github can read in these values? I could see a use of this for deployments etc. if I can define my own, custom sections.

Thanks


回答1:


GitHub cannot read those values. If some random company on the other side of the world could just willy-nilly read any arbitrary files on your computer, that would be truly scary.

But of course any program you run on your computer can read those values. Including, for example, the hub command or the github command, which are two popular commandline clients for GitHub.



来源:https://stackoverflow.com/questions/4269732/how-does-github-section-of-gitconfig-work

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!