Skip to main content

How to Install NDMerge

NDMerge is automatically installed in the Next Design installation folder when Next Design is installed.
If you want to use NDMerge without installing Next Design, please install it using the following steps.

Note

While NDMerge is automatically installed when Next Design is installed, the "gitattributes file" is not configured.
To safely merge projects, always configure Git merges to work with NDMerge.
If the "gitattributes file" is not configured and text merging is performed with another tool, the project may be corrupted.
Follow the instructions here and be sure to configure the "gitattributes file".

Installation Procedure

  1. Download the NDMerge file set (zip file) from the support site below.

https://www.nextdesign.app/support/auth/downloads/#ndmerge

caution

After downloading the zip file, remove the security protection as follows before extracting the files.
(1) Right-click the zip file and select [Properties].
(2) Read the explanation of [Security] displayed at the bottom of the [General] tab, check the [Allow] checkbox on the right, and click the [OK] button.

  1. Extract the zip file to your desired installation folder.

  2. Launch Terminal and navigate to the installation folder.

  3. Execute the following command:

    .\ndmerge git-setup install

For details on this command, please refer to here.

  1. To ensure that Git merges always work with NDMerge, follow these instructions and be sure to configure the "gitattributes file".

Note that this program requires the installation of .NET 10.0 to run.

Post-Installation Verification

  • Running the NDMerge setup command configures the gitconfig file for the global environment (each OS login user).
  • You can verify the configuration by running the following command in the installation folder:
./ndmerge git-setup list
  • If the merge.NDMerge.driver item is added to the configuration, it is configured correctly.

  • Example of execution on Windows

> ./ndmerge git-setup list
exec: git config merge.NDMerge.name
nd diff merge application
exec: git config merge.NDMerge.driver
'[Absolute path for each user environment]/ndmerge.exe' merge -o %A -t %B -b %O -m %A -p %P -l warn
Note
  • If the path set in gitconfig and the location of the storage folder are different, NDMerge will not work.
    If you move the storage folder, run the setup command again and update the settings in gitconfig.

Update Procedure

If NDMerge is already installed, follow these steps to update to the new version of NDMerge.

  1. Download the complete NDMerge file set (zip file) for the new version from the support site below.

https://www.nextdesign.app/support/auth/downloads/#ndmerge

caution

After downloading the zip file, please remove the security protection as follows before extracting the files.
(1) Right-click the zip file and select [Properties].
(2) Read the explanation of [Security] displayed at the bottom of the [General] tab, check the [Allow] checkbox on the right, and click the [OK] button.

  1. Delete all existing files in the installation folder.
  2. Extract the new version zip file to the installation folder.
  3. Launch Terminal and navigate to the installation folder.
  4. Run the following command to confirm that you have updated to the new version.
.\ndmerge --version

Uninstallation Procedure

  1. Launch Terminal and navigate to the NDMerge installation folder.

  2. Execute the following command.

./ndmerge git-setup uninstall
  1. Delete the contents of the .gitattributes file as described in .gitattributes settings.
  2. If settings other than NDMerge are not described in the .gitattributes file, execute the following command:
git config --global --unset core.attributesfile
  1. Delete all files in the installation folder.