geogig ls-tree [<path>] [–dryrun]
Removes all unversioned elements from the working tree.
If a path is passed, it will remove only those elements under that path. Otherwise, it will remove all unversioned elements in the working tree.
-n –dryrun Do not remove, but just show what would be removed if running this command