{branch.remote ? "Rename remote branch" : "Rename branch"}

{branch.name}

{#if branch.remote}

Gitty creates {remote}/{name.trim() || "new-name"} and removes {branch.name} in one atomic push. The operation stops if the remote changed in the meantime.

{/if}