I was trying to make my .gitconfig cleaner and easier to maintain, and I found that variable expansion isn't a thing. Why is that?
A use case that this would be useful is having several commands requiring the same parameters which is long and hard to read, such as a regex. You can see my question on SO here <https://stackoverflow.com/questions/72005402/is-there-a-way-to-define-and-use-a-user-defined-variable-in-the-gitconfig-file> . Also an answer was submitted, it is a very roundabout way to do something that should be very simple. There is the %(var) expansion for paths available, why isn't a similar expansion available for simple text? Perhaps by using curly braces rather than parenthesis? Is there a place where I could request this as a feature? Cheers, JAZ -- You received this message because you are subscribed to the Google Groups "Git for human beings" group. To unsubscribe from this group and stop receiving emails from it, send an email to git-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/git-users/0b7f2962-98f0-4dcb-886a-49c95bd35a29n%40googlegroups.com.