Git branching and tagging best practices
Posted
by
Code-Guru
on Programmers
See other posts from Programmers
or by Code-Guru
Published on 2012-09-21T18:24:51Z
Indexed on
2012/09/21
21:55 UTC
Read the original article
Hit count: 503
I am currently learning to use Git by reading Pro Git. Right now I'm learning about branching and tags. My question is when should I use a branch and when should I use a tag?
For example, say I create a branch for version 1.1 of a project. When I finish and release this version, should I leave the branch to mark the release version? Or should I add a tag? If I add a tag, should I delete the version branch (assuming that it is merged into master or some other branch)?
© Programmers or respective owner