When dev is not based on next, next is reset to main, however, it should reset to the next commit towards dev when when is ahead of main. Closes kemitix/git-next#111
Starting to flatten the crates.