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
[branch2] git branch -d branch1
error: the branch 'branch1' is not fully merged.
If you are sure you want to delete it, run 'git branch -D branch1'
Error: exit status 1
To continue after having resolved conflicts, run "git-town continue".
To go back to where you started, run "git-town undo".
analysis
It might be better to always use -D when deleting branches:
nobody notices or cares when we use -d
there is no benefit to Git Town
determining whether to use -d or -D requires complexity that doesn't add value
The text was updated successfully, but these errors were encountered:
steps to reproduce
branch2
with some commitsgit prepend branch1
git kill
expected result
it kills
branch1
andbranch2
is the new branchactual result
analysis
It might be better to always use
-D
when deleting branches:-d
-d
or-D
requires complexity that doesn't add valueThe text was updated successfully, but these errors were encountered: