Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Say you've got a working copy of your code and want to tag/label it so that you can retrieve that version at any time.  You could also use versioning to accomplish this but you may not want to cut a version for a valid reason (eg. your code is not going to prod anytime soon but you still want to stamp it at a known/working state).

Info

What's the difference between Tag and Label?  Well, not much, really.  If you're using GIT then you Tag.  If you're still using TFS then you Label.


Step-by-step guide

To Tag...

Within your Azure DevOps project navigate to your Repo and underneath the Repo menu item you'll see Tags.  Simply create a Tag there.  Use a descriptive comment so that it's clear why/when you created the Tag.

Image Added


To Label...

In Visual Studio, within Source Control Explorer, navigate to your project, right-click on it, select Advanced, and then Apply Label...

...

If you double-click on the search result that matches your Label, it will open the Label view which allows you to do various things including retrieving the code with that Label

Filter by label (Content by label)
showLabelsfalse
max5
spacescom.atlassian.confluence.content.render.xhtml.model.resource.identifiers.SpaceResourceIdentifier@14421
showSpacefalse
sortmodified
reversetrue
typepage
cqllabel = "kb-how-to-article" and type = "page" and space = "TFS"
labelskb-how-to-article

...