I am using local workspace. Now, say I am working on two different features, each with file modifications, file additions, and file deletions.
What is the easiest way to maintain the state and switch between two versions of code for these two features?
In git, I would simply create a branch for each, and then checkout either one at any time.
How can I accomplish this in TFVC, and be sure all changes are reverted from current version of code correctly (i.e. all file modifications are undone, all added files are removed, and all deleted files are restored), and be sure that all changes are applied correctly from the version of code I am switching to?