-
-
Save krebernisak/6697591 to your computer and use it in GitHub Desktop.
What if the tags have .
in them? As in:
git log releases/3.14.0..releases/3.15.0 --oneline
@ionox0 - use '
git log 'releases/3.14.0'..'releases/3.15.0' --oneline
For me, it worked with 3 dots between tags.
git log 'v3.8.0'...'v3.7.0' --oneline
i want to do that on github. My supervisor want to generate releases based on the commits and he dosen`t need to download the repo. I discover a way to do it by url repo/compare/2.2.0...2.2.1 but not in the interface. The dropdown and docs clearly tells you that can be done in the compare menu normally but it dosent work
For me, it worked with 3 dots between tags.
git log 'v3.8.0'...'v3.7.0' --oneline
git diff [] [--] […]
This is to view the changes between two arbitrary .
git diff [] .. [--] […]
This is synonymous to the previous form. If on one side is omitted, it will have the same effect as using HEAD instead.
git diff [] ... [--] […]
This form is to view the changes on the branch containing and up to the second , starting at a common ancestor of both . "git diff A...B" is equivalent to "git diff $(git merge-base A B) B". You can omit any one of , which has the same effect as using HEAD instead.
@ezarko 👍
Thanks! This helped me a lot today!
git rev-list --count [TAG1]..[TAG2]
works for me (git version 1.8.3.1)
saved my day! 🎉