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, follow the steps below to install it.
Installation Instructions
- Windows version
- Linux version
- Download the complete set of NDMerge files (zip file) from the support site below.
After downloading the zip file, disable security before extracting the files:
(1) Right-click the zip file and select Properties.
(2) Read the Security information at the bottom of the General tab, check the Allow checkbox on the right, and click OK.
- Extract the zip file to the desired installation folder.
- Launch Terminal and navigate to the installation folder.
- Execute the following command:
.\ndmerge git-setup install
For more information about this command, see here.
- If you want to use NDMerge in conjunction with the Git merge command, follow these instructions to set up the ".gitattributes" file.
Note that this program requires the installation of .NET 8.0.
- Download the complete NDMerge file (zip file) from the support site below.
- Extract the zip file to the desired installation folder.
- Navigate to the installation folder and run the following command.
chmod +x ndmerge
- Next, execute the following command:
./ndmerge git-setup install
For details on this command, see here.
- If you want to run
NDMerge
in conjunction with the Git merge command, follow these instructions to set up the ".gitattributes file."
Confirming Installation
- When you run the
setup
command forNDMerge
, it is configured in the globalgitconfig
(for each OS login user). - You can check the configured settings by executing the following command in the installation folder.
./ndmerge git-setup list
-
If the
merge.NDMerge.driver
item is added to the configuration, the settings are correct. -
Example of execution for 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
NDMerge
will not work if the path set ingitconfig
and the storage folder location are different.
If you move the storage folder, run thesetup
command again to update thegitconfig
settings.
Update Procedure
If you already have NDMerge
installed, follow the steps below to update to the new version of NDMerge
.
- Windows version
- Linux version
- Download the complete set of NDMerge files (zip file) for the new version from the support site below.
After downloading the zip file, disable security before extracting the files as follows.
(1) Right-click the zip file and select [Properties].
(2) Read the "Security" information displayed at the bottom of the "General" tab, check the "Allow" checkbox on the right, and click the "OK" button.
- Delete all existing files in the installation folder.
- Extract the new version's zip file to the installation folder.
- Launch Terminal and navigate to the installation folder.
- Execute the following command to confirm that the update to the new version was successful.
.\ndmerge --version
- Download the complete set of NDMerge files (zip file) for the new version from the support site below.
- Delete all existing files in the installation folder.
- Extract the new version's zip file to the installation folder.
- Navigate to the installation folder and run the following command:
chmod +x ndmerge
- Run the following command to confirm that the update to the new version was successful:
./ndmerge --version
Uninstallation Procedure
- Launch a terminal and navigate to the
NDMerge
installation folder. - Execute the following command:
./ndmerge git-setup uninstall
- Delete the contents of the
.gitattributes
file in .gitattributes settings. - If there are no settings other than
NDMerge
in the.gitattributes
file, run the following command:
git config --global --unset core.attributesfile
- Delete all files in the installation folder.