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

Popular posts from this blog

symfony - InvalidConfigurationException in SecurityExtension.php line 429: No authentication listener registered for firewall "secured_area" -

angular ui router - 10 digest iterations reached in angularjs when using $state.go -

javascript - Can Piwik report referrer in real time? -