[GSOC 2026] Proposal Draft: Improving Git Advice Messages
- From
Arsh Srivastava <arshsrivastava00@gmail.com>
- Date
- Mar 15, 2026, 12:20 UTC
- Message-ID
- <CAOAgETOX815iJcsZOjVSYXr+o-uSkkAkEJ3FE2xkt1ODBaOUmg@mail.gmail.com>
I am Arsh and I recently completed my microproject submission related to improving advice messages when a branch switch fails due to local changes.
Patch discussion: https://github.com/git/git/pull/2233
Through this contribution, I became familiar with Git's advice system, the relevant code paths in unpack-trees.c, and the associated tests. The review discussion also helped me understand the importance of keeping advice messages concise while guiding users toward safe workflows.
Based on that experience, I am planning a GSoC proposal focused on refining advice messages in several common scenarios across Git commands (such as checkout, push, merge, and rebase). So that I can preserve the user understanding while enhancing the UX.
The goal is not to introduce new mechanisms, but to improve clarity of existing advice messages, while not only preserving Git's preference for concise output and script-safe behavior but also making the UI more user-friendly for the terminal usage.
A rough draft of the proposal is attached below.
I would greatly appreciate any feedback on whether this direction would be useful.
Thank you for investing time in reading my draft and proposal.
Signed off by: Arsh Srivastava <arshsrivastava00@gmail.com>