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 steps.
NDMerge is automatically installed when you install Next Design, but the ".gitattributes file" is not configured.
To safely merge projects, be sure to configure Git merge to work with NDMerge.
If you perform a text merge using another tool without configuring the ".gitattributes file," your project may be corrupted.
Be sure to set up the ".gitattributes file" by following these instructions.
Installation Instructions
- Windows version
- Linux version
- Download the NDMerge zip file from the support site below.
After downloading the zip file, disable security protection before extracting it.
(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, 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 details on this command, see here.
- To ensure that Git merges work with
NDMerge, be sure to set up the ".gitattributes file" by following the instructions here.
Please note that this program requires the installation of .NET 8.0.
- Download the complete NDMerge file set (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, run the following command:
./ndmerge git-setup install
For more information about this command, see here.
- To ensure that Git merges work with
NDMerge, be sure to set up the ".gitattributes file" by following these instructions.
Post-Installation Verification
- When you run the
setupcommand forNDMerge, it is configured in the globalgitconfig(for each OS login user). - You can check the configured settings by running the following command in the installation folder:
./ndmerge git-setup list
-
If the
merge.NDMerge.driveritem is added to the configuration, the settings are correct. -
Example 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 user environment]/ndmerge.exe' merge -o %A -t %B -b %O -m %A -p %P -l warn
NDMergewill not work if the path set ingitconfigand the storage folder location are different.
If you move the storage folder, run thesetupcommand again to update thegitconfigsettings.
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) from the support site below.
Caution
After downloading the zip file, disable security protection before extracting it.
(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."
- 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.
- Run the following command to verify 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 Terminal and navigate to the NDMerge installation folder.
- Run the following command:
./ndmerge git-setup uninstall
- Delete the contents of the
.gitattributesfile described in .gitattributes Settings. - If the
.gitattributesfile contains no settings other thanNDMerge, run the following command:
git config --global --unset core.attributesfile
- Delete all files in the installation folder.