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 -

python - ValueError: could not convert string to float -

php - Laravel Get all child node count with condition -