FAQ Get,update GIT project sources: Difference between revisions

Line 221: Line 221:


To count number of changes developers have made between a version x and y:
To count number of changes developers have made between a version x and y:
* First, run git merge-base to know the id of last common commit between x and y
* First, search commit id of tags you want to compare
<source lang="bash">
<source lang="bash">
git merge-base origin/3.1 origin/develop
git show-ref --tags
</source>
</source>
* Then run git log to have list of all changes from last common commit to last commit
* Then run git log to have list of all changes from last common commit to last commit