Your Location is: Home > Git

Git alias documentation

From: San Marino View: 2227 Ar3s 

Question

I already know how to make aliases, simple ones, complex ones and all is good except ...

I, now, would like to document my aliases so when I do

git my-super-alias --help

instead of just getting :

'my-super-alias' is aliased to '[super specific set of instructions]'

I would get :

'my-super-alias' is aliased to '[super specific set of instructions]' this serves [super specific purpose] which is useful for [super specific, yet not very obvious at first glance, reason]

Is there any way to have this in native git config ?

Best answer