How do I print a welcome message containing my git aliases when I open a git bash in Windows?
The contents of /etc/motd are displayed on the terminal after an interactive login to the Bash shell (bash --login). If the version of Git for Windows you have omitted the file /etc/motd, create one with cat or your favorite editor.
# == Git Bash on Windows ==
# - /etc/motd = Message of the Day
# - - - - - - - - - - - - -
cat > /etc/motd
Welcome to the Git Bash Shell
- Try "pwd -W" versus "pwd -L"
- - - - - - - - -
CTRL-D
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