Share via


Merge (Command Line)

Combines the contents of two file copies that have the same name but are part of different projects. For definitions of the command options, see Command Options in this Help system.

Note

Visual SourceSafe does not support merging for binary files.

Syntax

ss Merge <files> [-B] [-C] [-G] [-H] [-L] [-N] [-O] [-R] [-Y] [-?]

Project Rights

You must have the Check Out/Check In project right in the project containing the file to which you are merging content. You only need the Read project right for the project containing the file to be merged.

Remarks

Use the -GF form of the -G option to force the use of working folders for the merge operation. See -G Option (Command Line).

Best practices for use of the Merge command are:

  • Each time you do a merge, put a label on the destination project.

  • For the next merge, specify this label in the -B and -L options, for example, -BLMyLabel.

Examples

Merges the file Test.c in $/WORD with Test.c in the current project:

ss Merge $/WORD/TEST.C

See Also

Reference

-G Option (Command Line)

Other Resources

Command Line Commands
Command Options