Skip to main content

How to install NDMerge

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

Installation procedure

  1. Download the NDMerge file set from the support site below.

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

Note

After downloading the zip file, disable security protection as follows before extracting the file.
(1) Right-click the zip file to display [Property].
(2) Read the explanation of [Security] displayed at the bottom of the [General] tab, check the [Allow] check box on the right, and press the [OK] button.

  1. Extract the zip file and save it in the desired installation folder.
  2. Start the command prompt and navigate to the above storage folder.
  3. Execute the following command.

    ndmerge git-setup install

  • For details on the command, see here.
  1. If you want to run NDMerge in conjunction with the Git merge command, follow the steps here to set up the ".gitattributes file".

Please note that you will need to install .NET 6.0 to run this program.

Checking after installation

  • When you run the setup command for NDMerge, it will be configured in the gitconfig of the global environment (per OS login user).

  • You can check the configured contents by running the following command.

    ndmerge git-setup list

  • If the merge.NDMerge.driver item has been added to the configuration contents, the settings are correct.

  • Example of execution

> 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 gitconfig settings.

Update procedure

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

  1. Download the complete set of files for the new version of NDMerge from the support site below.

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

Caution

After downloading the zip file, disable security protection as follows before extracting the files.
(1) Right-click the zip file to display [Property].
(2) Read the explanation of [Security] displayed at the bottom of the [General] tab, check the [Allow] check box on the right, and press the [OK] button.

  1. Extract the zip file of the new version of NDMerge.

  2. Overwrite the files in the installation folder of the installed NDMerge with the files extracted above.

Confirmation after update

  • To check if the update was successful, go to the installation folder of NDMerge in the command prompt and execute the following command.

    ndmerge --version

Uninstallation procedure

  1. Start the command prompt and move to the installation folder of NDMerge.
  2. Execute the following command.

    ndmerge git-setup uninstall

  3. Delete the contents written in the .gitattributes file in .gitattributes settings.
  4. If there are no settings other than NDMerge written in the .gitattributes file, execute the following command.

    git config --global --unset core.attributesfile

  5. Delete all files in the installation folder.