You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I decided that branch-1 was a bad idea and I want to remove it. If I run git town kill branch-1, it removes branch-1 from the lineage. But branch-2 and branch-3 still contain the changes that branch-1 makes, and shipping branch-2 will also ship the changes from branch-1.
To fix this, git town kill should also revert the changes from branch-1 from the other branches.
Maybe only do this if a switch like --revert is provided.
The text was updated successfully, but these errors were encountered:
kevgo
changed the title
remove a branch from a branch lineage
kill: remove a branch from a branch lineage
Aug 22, 2023
kevgo
changed the title
kill: remove a branch from a branch lineage
kill: remove the branch from the entire branch lineage
Aug 22, 2023
kevgo
changed the title
kill: remove the branch from the entire branch lineage
kill: remove the content of the killed branch from its descendents
Apr 14, 2024
Assuming I have this branch hierarchy:
I decided that
branch-1
was a bad idea and I want to remove it. If I rungit town kill branch-1
, it removes branch-1 from the lineage. But branch-2 and branch-3 still contain the changes that branch-1 makes, and shipping branch-2 will also ship the changes from branch-1.To fix this,
git town kill
should also revert the changes from branch-1 from the other branches.Maybe only do this if a switch like
--revert
is provided.The text was updated successfully, but these errors were encountered: