unison/unison-src/transcripts/delete-project-branch.md

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