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
When the branch -d command is used, a branch might be deleted at a commit that is not referred by any other branches.
In this case, there should be a warning and the command should not delete the branch. There should be -D option, instead, that would force the deletion to occur.
The text was updated successfully, but these errors were encountered:
liberostelios
changed the title
Branch -d command should check for dangling commits
Delete branch command should check for dangling commits
Feb 20, 2020
When the
branch -d
command is used, a branch might be deleted at a commit that is not referred by any other branches.In this case, there should be a warning and the command should not delete the branch. There should be
-D
option, instead, that would force the deletion to occur.The text was updated successfully, but these errors were encountered: