Better to use a tag or branch?

I have several git repositories.

For each project, I need several of them (tags or branches).
At the end of the project, I create a branch from the last commit.
Because the next Project can be a radical change, so they can be incompatible with each other.

But is it better to immediately mark the commit and create a branch if I need it (bug fixes, etc.) after?

Does it even matter?

+4
source share
1 answer

TJ is right : in a sense, branches and tags are links to specific commits, so to some extent this does not matter; they will work the same for you.

, . HEAD , , (, ), ; , .

+5

All Articles