mirror of
https://github.com/unisonweb/unison.git
synced 2024-10-26 11:07:48 +03:00
576 B
576 B
Deleting the branch you are on takes you to its parent (though this is impossible to see in a transcript, since we set your working directory with each command).
.> project.create-empty foo
foo/main> branch topic
foo/topic> delete.branch /topic
A branch need not be preceded by a forward slash.
foo/main> branch topic
foo/topic> delete.branch topic
You can precede the branch name by a project name.
foo/main> branch topic
.> delete.branch foo/topic
You can delete the only branch in a project.
foo/main> delete.branch /main