[go: nahoru, domu]

Skip to content

Advanced git-diff(insertions, deletions, modifications)

License

Notifications You must be signed in to change notification settings

34seod/git-diff-lcs

Repository files navigation

GitDiffLCS

Generally, git diff --stat does not contain modifications, so we added it to display modifications using the LCS algorithm.

Installation

$ gem install git_diff_lcs

How to use

$ git_diff_lcs shortstat  [GIT_REPOSITORY or WORKING_DIRECTORY] [SRC(branch or commit)] [DEST(branch or commit)]
$ git_diff_lcs shortstat  https://github.com/btpink-seo/git-diff-lcs.git test/src test/dest
$ git_diff_lcs shortstat  workspace/git-diff-lcs test/src test/dest

Compare with "git diff --shortstat"

$ git diff --shortstat test/src test/dest
 5 files changed, 15 insertions(+), 8 deletions(-)

$ git_diff_lcs shortstat https://github.com/btpink-seo/git-diff-lcs.git test/src test/dest
 5 files changed, 13 insertions(+), 6 deletions(-), 2 modifications(!), total(21)

About

Advanced git-diff(insertions, deletions, modifications)

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published