Cancels a check out, voiding all changes.
ss Undocheckout VSS files [-G] [-H] [-I-] [-N] [-O] [-P[project]] [-R] [-W] [-Y] [-?]
Cancels your check out of the file TEST.C:
ss Undocheckout TEST.C
Cancels all check outs made from the current project:
ss Undocheckout * -P
The following table describes the command-line options available with this command.
Option | Description |
-O | Paginate or redirect the command output. |
-G | Set Get options for the retrieved local copy. |
-W | Make the retrieved local copy writable. |
-R | Undo Check Out of an entire project list recursively. |
-P | Undo Check Out only of files checked out to the current or specified project. |
-I- | Ignore: Do not ask for input under any circumstances. |
-N | Change between long and short file name mode. |
-Y | Specify a username and/or password. |
-?, -H | Request online Help on a command. |
You must have the Check Out access right to use this command.
If you specify the -P option, the command acts only on items that are checked out from the specified project. If you do not specify a particular project after the -P, the current project is assumed.
Undocheckout performs a Get operation when it is finished, unless the Delete_Local initialization variable in the SS.INI file is set to Yes, or you use the -G- option.
Undocheckout ignores files not checked out to you.