Set beyond Compare as the default comparison tool for Git

Source: Internet
Author: User
Tags version control system

For the Beyond Compare4,git version number after 2.2.0, in Git, enter the following command in turn:

1 git config--global  diff.tool BC32 git config--global"d:/ Program Files/beyond Compare 4/bcompare.exe"

The installation path of Beyond Compare should be modified according to the actual situation.

In addition, the following command allows you to view the Git version number:

1 git version

After the setup is complete, you can call Beyond Compare for comparison using a command similar to the following:

1 git difftool./                        //  View all changes in current directory 2 git difftool filename                  //  Compare filename Files

As for how to compare the differences between the historical versions, it is still to be studied.

For other versions of Beyond Compare, or if you are using a non-Git version control system, refer to the Beyond Compare official help page.

Set beyond Compare as the default comparison tool for Git

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.