I have not looked at my .gitconfig for a while. Now I see the [github] section in it, for example.
[github]
[github] user = <user> token = <token>
I wonder what the purpose of this section is. What programs use it?
The regular git client does not use them. But your own shell scripts or git hooks can, for example,GitHub cannot read these values. If some random company on the other side of the world could simply perforce read any arbitrary files on your computer, it would be really scary.But, of course, any program that you run on your computer can read these values. Including, for example, the hub command or the github command, which are two popular command line clients for GitHub.
The regular git client does not use them. But your own shell scripts or git hooks can, for example,
GitHub cannot read these values. If some random company on the other side of the world could simply perforce read any arbitrary files on your computer, it would be really scary.
But, of course, any program that you run on your computer can read these values. Including, for example, the hub command or the github command, which are two popular command line clients for GitHub.
Source: How does the [github] .gitconfig section work?
Source: https://habr.com/ru/post/1485943/More articles:java restricts decompilation of some classes - javaPHP explode gets specfic index on one line - arraysWhat is the difference between property with a private setter and property without a setter? - c #PHP: why strtotime () returns "NOW ()"? - dateImplementing a complex data structure in ExtJS forms - data-structuresPass authentication token through HTTP header - ruby-on-railsHow to get error message from HttpResponse object in WebAPI? - c #Using horizontal separators LinearLayout for pre-cellular versions - androidLogical (Object) getters in java - javaHow to make an AJAX call as part of a Spring MVC / WebFlow project - javaAll Articles