How to make bash as default shell in git alias?

Viewed 45

Is there a way to specify the default shell used by git alias (which is currently /bin/sh for linux systems and /bin/zsh for macOS)? I know that we can wrap the command with bash -c '<command script>' but I was looking for a way to change the default.

1 Answers
Related