[cvsnt] Re: Creating a tag on a checked out branch?

Gerhard Fiedler lists at connectionbrazil.com
Tue Jan 31 19:06:13 GMT 2006


Jonathan Belson wrote:

>> Note that when you check out the tag that you created this way, your
>> files will /not/ be on a branch; they will be on a tag. But they will
>> contain the contents the files had that were on the branch when you
>> tagged them.
> 
> So if I want to start working on a branch, do I have to check out the
> branch first, then update to the tag?  Obviously I want changes I make
> to a branch to be committed back to that branch... 

When you check out a branch, you get automatically the tip of the branch
(the latest revision that was committed to the branch). Think of the main
branch as just that: a branch. The other branches work similarly. You only
ever can commit to the tip of a branch (be it the main branch HEAD or any
other created branch).

Gerhard



More information about the cvsnt mailing list