I have pushed some files by mistake and it shows different heads in main repository. How can I delete that head?
You can enable the "mq" extension by editing your .hgrc
file.
Make sure the following lines are present:
[extensions]
mq =
Afterwards you can "strip" a specific revision which deletes it so that you have only one head:
hg strip ...
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With