View already-committed Git merge in external 3-way diff tool

Updated answer: My original version of the script below was flawed in the sense that $conflicting_files in fact did not contain only the files that really had conflicts, but all files that were changed in both parent branches (but not necessarily had conflicts). Also, it was not using “the configured merge tool” as advertized in … Read more

How can I make WinMerge my git mergetool?

You are talking about merge tool, yet you (and some other people with answers) are configuring it as a diff tool. To configure a merge tool, you’d need to use merge.tool and mergetool configurations instead of diff.tool and difftool, like this: git config –global merge.tool winmerge git config –replace –global mergetool.winmerge.cmd “\”C:\Program Files (x86)\WinMerge\WinMergeU.exe\” -e … Read more

git difftool, open all diff files immediately, not in serial

Starting with git v1.7.11, you can use git difftool –dir-diff to perform a directory diff. This feature works well with Meld 3.14.2 for example, and lets you browse all modified files: git difftool –dir-diff –tool=meld HEAD~ HEAD This is a handy Bash function: git-diff-meld() ( git difftool –dir-diff –tool=meld “${1:-HEAD~}” “${2:-HEAD}” ) The answer that … Read more

How do I view ‘git diff’ output with my preferred diff tool/ viewer?

Since Git1.6.3, you can use the git difftool script: see my answer below. May be this article will help you. Here are the best parts: There are two different ways to specify an external diff tool. The first is the method you used, by setting the GIT_EXTERNAL_DIFF variable. However, the variable is supposed to point … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)