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

mysql - FireDac error 314 - but DLLs are in program directory -

git - How to list all releases of public repository with GitHub API V3 -

c++ - Getting C2512 "no default constructor" for `ClassA` error on the first parentheses of constructor for `ClassB`? -