uncheckout

Undo a check out if you modify a file but decide you do not want to save the changes. This discards changes to files in the working directory, checks the file in, and does not create an entry in the revision history.

To undo a check out performed by another user, see voidcheckout.

sscm uncheckout Item1 [Item2...] [-bBranch] [-d] [-flatest|-foriginal|-fleave] [-h] [-pRepository] [-q] [-r] [-y[Username:Password|+|=]] [-zSCMServerAddr:PortNum|zPath] [+u]

Option Description
Item Files or repository to undo check out for. Enter / to use repository in -p or the default working directory repository. Use quotes in Unix if Item includes wildcard characters.
-b Branch that contains files or repository. If not specified, default working directory branch is used.
-d Removes files from any pending changelists they are set to be checked in from.
-f How to replace working directory files:

-flatest: Replace working directory files with latest version

-foriginal: Replace working directory files with original version

-fleave: Do not replace working directory files
-h Display online help for the command.
-p Full path to repository, including parent repositories. If not specified, default working directory repository is used.
-q Use quiet mode; does not display results after canceling check out.
-r Recursively undo check out for files if Item is a repository or file name includes wildcard characters.
-y Enter a Surround SCM username and password if you do not want to use the default value. To use single sign-on, enter -y+. If you use an identity provider to authenticate, the provider web page opens if you have not yet authenticated. Authenticate with the provider and then return to the CLI.
-z Enter the Surround SCM Server host computer address and port number if you do not want to use the default value. IPv6 addresses must be in square brackets. If you received a server settings file from your Surround SCM administrator, enter the path to the XML file instead of entering the server connection information.
+u Display output in Unicode (Windows only). Output cannot be sent to a file. If output is enabled for all commands, enter +u- to disable it for this command.