Skip to content

Instantly share code, notes, and snippets.

@sliekens
sliekens / Git_mergetool_commands
Created November 10, 2017 10:16 — forked from RohanBhanderi/Git_mergetool_commands
Git Mergetool and difftool with Beyond Compare 4
//Git Mergetool and difftool with Beyond Compare 4
//For Windows
//IF running this command in git bash then escape $ with \
git config --global diff.tool bc4
git config --global difftool.bc4.cmd "\"C:/Program Files/Beyond Compare 4/BCompare.exe\" \"\$LOCAL\" \"\$REMOTE\""
git config --global difftool.prompt false
git config --global merge.tool bc4
git config --global mergetool.bc4.cmd "\"C:/Program Files/Beyond Compare 4/BCompare.exe\" \"\$LOCAL\" \"\$REMOTE\" \"\$BASE\" \"\$MERGED\""
git config --global mergetool.bc4.trustExitCode true
<?xml version="1.0" encoding="utf-8" ?>
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<OnAfterPipelineCollectFilesPhase>
$(OnAfterPipelineCollectFilesPhase);
MSDeploySetParametersFile;
MSDeploySetParameters;
MSDeploySetParametersUpdate;
</OnAfterPipelineCollectFilesPhase>
</PropertyGroup>