Reset *dev.* to root commit

(Takes care of most cases but will not remove *dev.* from any
other commits that were made in-between)