The git-config documentation explains that "If the alias expansion is prefixed with an exclamation point, it will be treated as a shell command." Unfortunately for me, that isn't enough information for someone who uses git across multiple different types of shells (in my daily work I encounter sh, bash, and fish). My questions are about this functionality.
- What shell gets invoked? The current shell? The system default? Bash? If bash what version?
- Do any configuration files get loaded when the shell is invoked (e.g. bash_profile)?
- Are there any special environment variables available to the shell invoked?
Thank you in advance!