Kanekotic/GIT - Branches, Tags and Commits

Created Fri, 29 Jan 2016 09:56:49 +0200 Modified Sun, 05 Dec 2021 10:26:06 +0000

I was concern what will happend with my comments in the case i remove a branch.

In git Commits are independents of branch’s and Tag’s. This last two are just pointers to certain commit. Trying to delete a Branch could create unreachable commits but if this are tag they become reachable.

Removing branches will not remove commits, they will just become unreachable. Unless they are deleted with the git-gc command for example.