Re: why can't one alias `git stash`?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hey.

On Thu, 2025-08-14 at 18:23 -0700, Junio C Hamano wrote:
> Look for "alias.*" in "git help config".
> 
>         To avoid
> 	confusion and troubles with script usage, aliases that
> 	hide existing Git commands are ignored. 

Can't one add some kind of override for this? Cause AFAIU, my command
from below would not hide the other commands, or would it?


> 	If the alias expansion is prefixed with an exclamation
>         point, it will be treated as a shell command.

Well I kinda thought that... still wouldn't though if it was detailed
what exactly happens :-)

Thanks,
Chris.





[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux