.gitconfig的[github]部分如何工作? [英] How does [github] section of .gitconfig work?

查看:110
本文介绍了.gitconfig的[github]部分如何工作?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想知道github如何读取这些值?如果我可以定义自己的自定义部分,我可以看到这个用于部署等。



谢谢

解决方案

GitHub无法读取这些值。如果世界另一端的一些随机公司可能只是无聊地阅读计算机上的任何文件,那将是非常可怕的。



当然,任何程序你的计算机上运行可以读取这些值。例如,包括 hub 命令或 github 命令,它们是GitHub的两个流行命令行客户端。 p>

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

解决方案

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.

这篇关于.gitconfig的[github]部分如何工作?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆