Do you know that branches are better than Labels?

Updated by Brady Stroud [SSW] 1 year ago. See history

123
No component provided for introEmbed
Image

❌ Figure: Bad example, labels can be edited after the fact (they are mutable)

Image

✅ Figure: Good example, branches give absolute certainty of versions (they are immutable)

Fact #1 : Creating a branch of 1GB of source code does not increase the size of your database by 1GB. It just adds a bunch of pointers. Only the differences are actually stored. Fact #2 : When you delete a branch it is not really “deleted”, you are just ending the history. You can undelete at a later time.

Tip : Find deleted items by ticking “Tools | Options | Source Control | Visual Studio Team Foundation Server | Show deleted items in the Source Control Explorer”

Acknowledgements

David Klein
Justin King
Ryan Tee
Tristan Kurniawan
Damian Brady
Adam Stephensen
Related rules

Need help?

SSW Consulting has over 30 years of experience developing awesome software solutions.

We open source.Loving SSW Rules? Star us on GitHub. Star