diff -r 5c346302c5ba -r bb2f6fcce8d4 hg.rst --- a/hg.rst Thu Feb 09 23:45:24 2017 +0200 +++ b/hg.rst Sun Feb 12 15:30:17 2017 +0200 @@ -485,6 +485,21 @@ $ hg rebase -s 'draft() & branch(.)' -d 'public() & branch(.)' +Delete untracked files +====================== + +With ``purge`` extention enabled:: + + $ hg purge + +To ignore ``.hgignore``:: + + $ hg purge --all + +Without ``purge`` extention:: + + $ hg st -un0 | xargs -0 rm + Find greatest common ancestor of changesets. ============================================ ::