Proposal: Add tip to use git update-git-for-windows when running git help or git version on Windows
- From
Aditya Garg <gargaditya08@live.com>
- Date
- May 20, 2025, 19:31 UTC
- Message-ID
- <PN3PR01MB9597FDF30B7CE529985DE546B89FA@PN3PR01MB9597.INDPRD01.PROD.OUTLOOK.COM>
I've recently started exploring git for windows, and one thing I noticed was, there was no sign of updates! I googled a bit and found the git update-git-for-windows command. I think it would be nice if we could add a line like:
"Tip: Run `git update-git-for-windows` to update git"
At the last of the output when we run git help, git version or both.
Looking at the code, adding a compiler flag to check for windows in help.c and print it seems to be a possible solution.