Why Restrict Branch Deletion (Git)? -
why git not allow delete branches aren't in current branch's ancestral history?
is because git doesn't have access them in object storage?
git allow delete unmerged branch using git branch -d <branch-name>
. reason refuses when branch name not merged (using lowercase -d
), reduce accidents throw away work meant merge.
git can delete branch, wants sure you're doing meant do.
Comments
Post a Comment