Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

add kdiff3 to git

# configure your windows envrionment 
# download from https://download.kde.org/stable/kdiff3/

git config --global merge.tool kdiff3
git config --global mergetool.kdiff3.path "C:/Program Files/KDiff3/bin/kdiff3.exe"
git config --global mergetool.kdiff3.trustExitCode false

git config --global diff.guitool kdiff3
git config --global difftool.kdiff3.path "C:/Program Files/KDiff3/bin/kdiff3.exe"
git config --global difftool.kdiff3.trustExitCode false

# configure ubuntu
sudo apt install kdiff3

git config --global merge.tool kdiff3
git config --global mergetool.kdiff3.path "/usr/bin/kdiff3"
git config --global mergetool.kdiff3.trustExitCode false

git config --global diff.guitool kdiff3
git config --global difftool.kdiff3.path "/user/bin/kdiff3"
git config --global difftool.kdiff3.trustExitCode false

# to invoke merge run
git mergetool --tool=kdiff3
Comment

add kdiff3 to git

[merge]
    tool = kdiff3
[mergetool "kdiff3"]
    path = C:/Program Files/KDiff3/kdiff3.exe
    trustExitCode = false
[diff]
    guitool = kdiff3
[difftool "kdiff3"]
    path = C:/Program Files/KDiff3/kdiff3.exe
    trustExitCode = false
Comment

PREVIOUS NEXT
Code Example
Shell :: xcode errSecInternalComponent 
Shell :: bitbucket rename remote tag 
Shell :: zsh get first line 
Shell :: Install Pop Shell Window Tiling Extension on Ubuntu 20.04 
Shell :: cat dhcp.leases 
Shell :: libbre office ubuntu 
Shell :: ubuntu stop jira service 
Shell :: cannot find module descriptiondatamatcherruleplugin 
Shell :: list relative path windows 
Shell :: Linkar repo en github 
Shell :: ubuntu open file system from terminal 
Shell :: install laravel installer on fish shell 
Shell :: mailutils check mail 
Shell :: how to find out what packages I installed from the AUR 
Shell :: Fixing Flutter ios build errors 
Shell :: ubuntu uninstall thunderbird 
Shell :: raspberry pi ssh headless 
Shell :: bash read password 
Shell :: sudo: gitlab-runner: command not found 
Shell :: The chosen size is not valid for the chosen file system. : (-69850) 
Shell :: get you the list of those packages that Postgres installed. 
Shell :: git tab not workingh 
Shell :: linux remove non-ascii characters from file 
Shell :: Make sure /usr/local/bin is in your PATH environment variable. 
Shell :: start a service in bash if stopped 
Shell :: git diff no context 
Shell :: How to install KVM and VirtManager on Kali Linux 
Shell :: terminal mkdir and cd 
Shell :: ./utserver: error while loading shared libraries: libssl.so.1.0.0: cannot open shared object file: No such file or directory 
Shell :: View Changes Before Committing in git command 
ADD CONTENT
Topic
Content
Source link
Name
6+4 =