deactivate hg up -C (or alias is to shelve)
David Demelier
markand at malikania.fr
Fri Jan 10 09:38:06 UTC 2020
Le 10/01/2020 à 09:11, Uwe Brauer a écrit :
> I just, by mistake, run hg up -C and deleted important changes.
>
> I thought to alias it to shelve, but I don't know how to do that.
There is no way to alias options, only commands. So the only rule here
is to be very careful to avoid this issue.
It's like `rm -rf`, you should always double check before pressing enter
:-).
Regards,
More information about the Mercurial
mailing list