In Git, Branches are Pointers to Commits. Every commit points to its parent(s). So, there are only two ways to make commits visible:
- Make a Branch (or Tag) point at the commit
- Make a Branch (or Tag) point at an descendant of the commit
As Branches itself are only pointers, they are not commited and therefore not versioned. If you delete a Branch, it is lost forever, without any notice from anything (apart from reflog). That doesn't mean you lost something, because it is only a pointer after all. You can still use git reflog
to get the commit's SHA back. Then you can create a new branch pointing at that commit.
To answer your question:
No, as branches are not versioned you will not get a branch deleted
message in gitweb.
The only way to make the "deleted" commits visible is, to use one of the above mentioned ways to make a commit visible (or reachable). Maybe you can create a branch deleted_branch
?