-
-
Notifications
You must be signed in to change notification settings - Fork 17
Undo
Jesse Houwing edited this page Feb 26, 2016
·
4 revisions
When you've made changes to the local workspace, but want to revert them to their original state, you can use the undo task. Often added at the end of a build workflow that changes items in source control to revert the workspace to it's original state should anything go wrong.
-
Files to undo - specify one or more paths, separated by
;
or newline. While wildcards (?
,*
) are supported, they're not the same as the minimatch patterns used by other build task and do not support the recursive wildcard**
.
Example:$/MyTeamproject/Main/AssemblyInfo.cs
- Recursion - controls whether you'll be undoing just the current folder/file (None), one level below the selected path (One Level) or all levels below the selected path (Full).
- Delete Adds - Also deletes file added to the workspace
- Home
- Tasks
- Add
- Check-in
- Delete
- Edit
- Undo
- Update Gated
- How-to
- File an issue
- Install on TFS 2015