-
Notifications
You must be signed in to change notification settings - Fork 163
Contribution Summary: Changes Between versions
This section summarizes the key contributions and changes made between the releases of v2.3.0
and v2.4.0
in the Cypht repository.
To see the total number of commits made between v2.3.0
and v2.4.0
, run the following command:
git log v2.3.0..v2.4.0 --oneline | wc -l
This command lists all the commits made between the two versions and counts them. The --oneline
option shows each commit in a compact, single-line format, and wc -l
counts the number of lines (i.e., the number of commits).
To display the number of files changed, lines added, and lines removed between these versions, use this command:
git diff --shortstat v2.3.0 v2.4.0
This command provides a summary of the changes between v2.3.0 and v2.4.0. It outputs the number of changed files, lines inserted, and lines deleted.
For a detailed list of files modified along with the number of lines added and deleted in each file, use:
git diff --stat v2.3.0 v2.4.0
This command gives a file-by-file breakdown, showing how many lines were added and removed in each specific file.
To list the contributors and the number of commits they made between v2.3.0 and v2.4.0, use this command:
git shortlog -s -n v2.3.0..v2.4.0
This command shows a list of contributors between the two versions, along with the number of commits each person made. The -s
option shows only the number of commits, and the -n
option sorts the contributors by the number of commits (highest first).
To count the total number of unique contributors between these two versions, you can use:
git shortlog -s -n v2.3.0..v2.4.0 | wc -l
This command counts the number of unique contributors by counting the lines in the output of git shortlog
.