unison/unison-src/transcripts/delete-project-branch.md
2024-06-25 11:11:07 -07:00

559 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).

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
scratch/main> delete.branch foo/topic

You can delete the only branch in a project.

foo/main> delete.branch /main