I’m using git to manage my project. As a part of the nightly build I have a script that pulls the changes and compiles them. I want to get all the comments for all the commits that were pulled in order to make a readable changelog.
My assumption is that the commit comments are all good of course.
How do I do that?
We use the following to compare two branches (or commits)
That will output something like…
…and put them in
changelog.txtUPDATED
You could use the output of that before you git pull to use the original commit to compare against.