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
The system level configuration file lives in a gitconfig file off the system root path. $(prefix)/etc/gitconfig on unix systems. On windows this file can be found at C:\Documents and Settings\All Users\Application Data\Git\config on Windows XP, and in C:\ProgramData\Git\config on Windows Vista and newer.
A branch in Git is simply a lightweight movable pointer to one of these commits. The default branch name in Git is master . As you start making commits, you're given a master branch that points to the last commit you made. Every time you commit, the master branch pointer moves forward automatically.
# There are 3 levels of git config; project, global and system.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With