Forked from thbar/how-to-diff-pdf-files-with-git-and-diffpdf.md
Created
April 27, 2021 11:39
-
-
Save khanfarhan10/995e251d3e025dc1c6039d890c3689b5 to your computer and use it in GitHub Desktop.
Revisions
-
thbar revised this gist
Nov 26, 2019 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,4 +1,4 @@ One can use MD5 or plain text diff to see differences in PDF files. If that's not enough, here's how to use [diff-pdf](https://vslavik.github.io/diff-pdf/) which knows how to diff based on appearance or words: * ```brew install diff-pdf``` * edit your `~/.gitconfig` to add this: -
thbar revised this gist
Dec 11, 2018 . No changes.There are no files selected for viewing
-
thbar revised this gist
Dec 11, 2018 . 1 changed file with 7 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -9,6 +9,7 @@ One can use MD5 or plain text diff to see differences in PDF files. If that's no ``` * then use with: ``` git difftool --tool=diffpdf your_pdf_file.pdf ``` @@ -21,4 +22,10 @@ Also useful in `.bash_profile`: function git_diff_pdf { yes | git difftool --tool=diffpdf $1 } ``` then you can use it like: ``` git_diff_pdf your_pdf_file.pdf ``` -
thbar revised this gist
Dec 11, 2018 . 1 changed file with 9 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -13,4 +13,12 @@ One can use MD5 or plain text diff to see differences in PDF files. If that's no git difftool --tool=diffpdf your_pdf_file.pdf ``` I suspect there's maybe some way to force always using a specific difftool for files with a specific extension; in the mean time I'm just using a bash function for this. Also useful in `.bash_profile`: ``` function git_diff_pdf { yes | git difftool --tool=diffpdf $1 } ``` -
thbar revised this gist
Dec 11, 2018 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -5,7 +5,7 @@ One can use MD5 or plain text diff to see differences in PDF files. If that's no ``` [difftool "diffpdf"] cmd = diff-pdf --view \"$LOCAL\" \"$REMOTE\" ``` * then use with: -
thbar revised this gist
May 7, 2016 . 1 changed file with 2 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -4,13 +4,13 @@ One can use MD5 or plain text diff to see differences in PDF files. If that's no * edit your `~/.gitconfig` to add this: ``` [difftool "diffpdf"] cmd = diff-pdf \"$LOCAL\" \"$REMOTE\" ``` * then use with: ``` git difftool --tool=diffpdf your_pdf_file.pdf ``` I suspect there's maybe some way to force always using a specific difftool for files with a specific extension; in the mean time I'm just using a bash function for this. -
thbar revised this gist
May 7, 2016 . 1 changed file with 3 additions and 3 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -4,13 +4,13 @@ One can use MD5 or plain text diff to see differences in PDF files. If that's no * edit your `~/.gitconfig` to add this: ``` [difftool "diff-pdf"] cmd = diff-pdf \"$LOCAL\" \"$REMOTE\" ``` * then use with: ``` git difftool --tool=diff-pdf your_pdf_file.pdf ``` I suspect there's maybe some way to force always using a specific difftool for files with a specific extension; in the mean time I'm just using a bash function for this. -
thbar revised this gist
May 7, 2016 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,6 +1,6 @@ One can use MD5 or plain text diff to see differences in PDF files. If that's not enough, here's how to use [diffpdf](http://www.qtrac.eu/diffpdf.html) which knows how to diff based on appearance or words: * ```brew install diff-pdf``` * edit your `~/.gitconfig` to add this: ``` -
thbar revised this gist
Feb 13, 2013 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,4 +1,4 @@ One can use MD5 or plain text diff to see differences in PDF files. If that's not enough, here's how to use [diffpdf](http://www.qtrac.eu/diffpdf.html) which knows how to diff based on appearance or words: * ```brew install diffpdf``` * edit your `~/.gitconfig` to add this: -
thbar revised this gist
Feb 13, 2013 . 1 changed file with 4 additions and 4 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,6 +1,4 @@ One can use MD5 or plain text diff to see differences in PDF files. If that's not enough, here's how to use [diffpdf](www.qtrac.eu/diffpdf.html) which knows how to diff based on appearance or words: * ```brew install diffpdf``` * edit your `~/.gitconfig` to add this: @@ -13,4 +11,6 @@ If that's not enough, you can also use [diffpdf] * then use with: ``` git difftool --tool=diffpdf your_pdf_file.pdf ``` I suspect there's maybe some way to force always using a specific difftool for files with a specific extension; in the mean time I'm just using a bash function for this. -
thbar renamed this gist
Feb 13, 2013 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
thbar renamed this gist
Feb 13, 2013 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
thbar renamed this gist
Feb 13, 2013 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
thbar created this gist
Feb 13, 2013 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,16 @@ One can use MD5 or plain text diff to see differences in PDF files. If that's not enough, you can also use [diffpdf] * ```brew install diffpdf``` * edit your `~/.gitconfig` to add this: ``` [difftool "diffpdf"] cmd = diffpdf \"$LOCAL\" \"$REMOTE\" ``` * then use with: ``` git difftool --tool=diffpdf your_pdf_file.pdf ```