metro wip save saves the working directory to the WIP branch
metro wip restore restores the working directory from the WIP branch
metro wip squash squashes the commits on the WIP branch into a single commit ahead of the base branch
The commands will not work when detached, giving an error
The commands will work before the initial commit is made
When the base branch has an additional commit past the point where the first WIP commit is made, neither save or restore will work, and squashing will require the --force optional
When restoring, I=if the working directory is not empty, the --force optional will be required to replace the contents.
Merge parents will be retained while squashing.
Passing tests have been written for all WIP commands.
Failing tests have been written for metro delete branch
Description
Closes #57 Implements
metro wip
Features
metro wip save
saves the working directory to the WIP branchmetro wip restore
restores the working directory from the WIP branchmetro wip squash
squashes the commits on the WIP branch into a single commit ahead of the base branch--force
optional--force
optional will be required to replace the contents.metro delete branch