From: Junio C Hamano Date: Thu, 26 Jan 2023 16:21:01 GMT Subject: Re: Feature Request - GIT config - Reference value of init.defaultBranch in alias Message-ID: In-Reply-To: Michal Aron writes: > 1) global config having init.defaultBranch = master > 2) global config having alias com = checkout [ init.defaultBranch ] I do not think it is a good idea to special case just a single configuration variable and come up with a special syntax to refer to it. Isn't [alias] com = !git checkout $(git config init.defaultBranch) sufficient?