Use BeyondCompare to see difference between files in GIT

前端 未结 4 1698
旧时难觅i
旧时难觅i 2021-02-07 12:36

Before I commit my changes, I want to see the difference using BeyondCompare in GIT. How can I configure BeyondCompare to see difference in my files.

I looked at this li

4条回答
  •  囚心锁ツ
    2021-02-07 13:21

    Beyond compare is a mergetool and a diff tool. I have it for both operations anyway. When I want to see the differences between my current state and the last commited I write

        git diff 
    

    for a fast text output and small changes and

       git difftool
    

    for changes in multiple files. Also keep in mind that you can do a git log, copy the first part of your commit's hash value and do a

       git difftool (commit1) (commit2)
    

    and compare all the files one after another (very productive and useful)

提交回复
热议问题