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
- Download the NDMerge file set from the support site below.
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.
- Extract the zip file and save it in the desired installation folder.
- Start the command prompt and navigate to the above storage folder.
- Execute the following command.
ndmerge git-setup install
- For details on the command, see here.
- 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 forNDMerge
, it will be configured in thegitconfig
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
- 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 thesetup
command again and update thegitconfig
settings.
Update procedure
If NDMerge
is already installed, follow the steps below to update to a new version of NDMerge
.
- Download the complete set of files for the new version of NDMerge from the support site below.
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.
-
Extract the zip file of the new version of
NDMerge
. -
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
- Start the command prompt and move to the installation folder of
NDMerge
. - Execute the following command.
ndmerge git-setup uninstall
- Delete the contents written in the
.gitattributes
file in .gitattributes settings. - If there are no settings other than
NDMerge
written in the.gitattributes
file, execute the following command.git config --global --unset core.attributesfile
- Delete all files in the installation folder.